
This change includes the following updates: * Script tags are moved out of dom-module element * <template strip-whitespaces> is changed to <template> * gr-js-api-interface.html is splitted to avoid <script...> after <dom-module> * gr-app initialization moved to a separate file. Without this change polymer-modulizer places initialization code after other imports * gr-external-style - move importHref in a separate _importHref method. It is not possible to mock Polymer.importHref method in tests after conversion to ES6 modules. Change-Id: I97bae910c5d0df1bf8e6778657173729f0a6652a
24 lines
772 B
JavaScript
24 lines
772 B
JavaScript
/**
|
|
* @license
|
|
* Copyright (C) 2020 The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
if (!window.Polymer) {
|
|
window.Polymer = {
|
|
passiveTouchGestures: true,
|
|
lazyRegister: true,
|
|
};
|
|
}
|
|
window.Gerrit = window.Gerrit || {}; |