Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Side by Side Diff: appengine/config_service/ui/bower_components/polymer/lib/utils/boot.html

Issue 2923973003: Added base template for config ui. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 @license
3 Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 -->
10 <script>
11 (function() {
12 'use strict';
13
14 const userPolymer = window.Polymer;
15
16 /**
17 * @namespace Polymer
18 * @summary Polymer is a lightweight library built on top of the web
19 * standards-based Web Components API's, and makes it easy to build your
20 * own custom HTML elements.
21 * @param {Object} info Prototype for the custom element. It must contain
22 * an `is` property to specify the element name. Other properties populate
23 * the element prototype. The `properties`, `observers`, `hostAttributes`,
24 * and `listeners` properties are processed to create element features.
25 * @return {Object} Returns a custom element class for the given provided
26 * prototype `info` object. The name of the element if given by `info.is`.
27 */
28 window.Polymer = function(info) {
29 return window.Polymer._polymerFn(info);
30 }
31
32 // support user settings on the Polymer object
33 if (userPolymer) {
34 Object.assign(Polymer, userPolymer);
35 }
36
37 // To be plugged by legacy implementation if loaded
38 /**
39 * @param {Object} info Prototype for the custom element. It must contain
40 * an `is` property to specify the element name. Other properties populate
41 * the element prototype. The `properties`, `observers`, `hostAttributes`,
42 * and `listeners` properties are processed to create element features.
43 */
44 window.Polymer._polymerFn = function(info) { // eslint-disable-line no-unused- vars
45 throw new Error('Load polymer.html to use the Polymer() function.');
46 }
47 window.Polymer.version = '2.0.1';
48
49 /* eslint-disable no-unused-vars */
50 /*
51 When using Closure Compiler, JSCompiler_renameProperty(property, object) is re placed by the munged name for object[property]
52 We cannot alias this function, so we have to use a small shim that has the sam e behavior when not compiling.
53 */
54 window.JSCompiler_renameProperty = function(prop, obj) {
55 return prop;
56 }
57 /* eslint-enable */
58
59 })();
60 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698