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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: appengine/config_service/ui/bower_components/polymer/lib/utils/boot.html
diff --git a/appengine/config_service/ui/bower_components/polymer/lib/utils/boot.html b/appengine/config_service/ui/bower_components/polymer/lib/utils/boot.html
new file mode 100644
index 0000000000000000000000000000000000000000..3c047ad6b02accfa45117782f38c93e810d9b193
--- /dev/null
+++ b/appengine/config_service/ui/bower_components/polymer/lib/utils/boot.html
@@ -0,0 +1,60 @@
+<!--
+@license
+Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
+This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
+The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
+The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
+Code distributed by Google as part of the polymer project is also
+subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
+-->
+<script>
+(function() {
+ 'use strict';
+
+ const userPolymer = window.Polymer;
+
+ /**
+ * @namespace Polymer
+ * @summary Polymer is a lightweight library built on top of the web
+ * standards-based Web Components API's, and makes it easy to build your
+ * own custom HTML elements.
+ * @param {Object} info Prototype for the custom element. It must contain
+ * an `is` property to specify the element name. Other properties populate
+ * the element prototype. The `properties`, `observers`, `hostAttributes`,
+ * and `listeners` properties are processed to create element features.
+ * @return {Object} Returns a custom element class for the given provided
+ * prototype `info` object. The name of the element if given by `info.is`.
+ */
+ window.Polymer = function(info) {
+ return window.Polymer._polymerFn(info);
+ }
+
+ // support user settings on the Polymer object
+ if (userPolymer) {
+ Object.assign(Polymer, userPolymer);
+ }
+
+ // To be plugged by legacy implementation if loaded
+ /**
+ * @param {Object} info Prototype for the custom element. It must contain
+ * an `is` property to specify the element name. Other properties populate
+ * the element prototype. The `properties`, `observers`, `hostAttributes`,
+ * and `listeners` properties are processed to create element features.
+ */
+ window.Polymer._polymerFn = function(info) { // eslint-disable-line no-unused-vars
+ throw new Error('Load polymer.html to use the Polymer() function.');
+ }
+ window.Polymer.version = '2.0.1';
+
+ /* eslint-disable no-unused-vars */
+ /*
+ When using Closure Compiler, JSCompiler_renameProperty(property, object) is replaced by the munged name for object[property]
+ We cannot alias this function, so we have to use a small shim that has the same behavior when not compiling.
+ */
+ window.JSCompiler_renameProperty = function(prop, obj) {
+ return prop;
+ }
+ /* eslint-enable */
+
+})();
+</script>

Powered by Google App Engine
This is Rietveld 408576698