release v0.7.5

This commit is contained in:
Daniel Freedman
2015-06-17 19:01:18 -07:00
15 changed files with 109 additions and 106 deletions

View File

@@ -7,7 +7,7 @@
* 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
*/
// @version 0.7.4
// @version 0.7.5
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
@@ -361,11 +361,11 @@ window.CustomElements = window.CustomElements || {
scope.addModule = addModule;
scope.initializeModules = initializeModules;
scope.hasNative = Boolean(document.registerElement);
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || HTMLImports.useNative);
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || window.HTMLImports.useNative);
})(window.CustomElements);
window.CustomElements.addModule(function(scope) {
var IMPORT_LINK_TYPE = window.HTMLImports ? HTMLImports.IMPORT_LINK_TYPE : "none";
var IMPORT_LINK_TYPE = window.HTMLImports ? window.HTMLImports.IMPORT_LINK_TYPE : "none";
function forSubtree(node, cb) {
findAllElements(node, function(e) {
if (cb(e)) {
@@ -402,7 +402,7 @@ window.CustomElements.addModule(function(scope) {
_forDocumentTree(doc, cb, []);
}
function _forDocumentTree(doc, cb, processingDocuments) {
doc = wrap(doc);
doc = window.wrap(doc);
if (processingDocuments.indexOf(doc) >= 0) {
return;
}
@@ -564,9 +564,9 @@ window.CustomElements.addModule(function(scope) {
flags.dom && console.groupEnd();
}
function takeRecords(node) {
node = wrap(node);
node = window.wrap(node);
if (!node) {
node = wrap(document);
node = window.wrap(document);
}
while (node.parentNode) {
node = node.parentNode;
@@ -590,7 +590,7 @@ window.CustomElements.addModule(function(scope) {
inRoot.__observer = observer;
}
function upgradeDocument(doc) {
doc = wrap(doc);
doc = window.wrap(doc);
flags.dom && console.group("upgradeDocument: ", doc.baseURI.split("/").pop());
addedNode(doc);
observe(doc);
@@ -603,7 +603,7 @@ window.CustomElements.addModule(function(scope) {
if (originalCreateShadowRoot) {
Element.prototype.createShadowRoot = function() {
var root = originalCreateShadowRoot.call(this);
CustomElements.watchShadow(this);
window.CustomElements.watchShadow(this);
return root;
};
}
@@ -909,8 +909,8 @@ window.CustomElements.addModule(function(scope) {
var upgradeDocumentTree = scope.upgradeDocumentTree;
if (!window.wrap) {
if (window.ShadowDOMPolyfill) {
window.wrap = ShadowDOMPolyfill.wrapIfNeeded;
window.unwrap = ShadowDOMPolyfill.unwrapIfNeeded;
window.wrap = window.ShadowDOMPolyfill.wrapIfNeeded;
window.unwrap = window.ShadowDOMPolyfill.unwrapIfNeeded;
} else {
window.wrap = window.unwrap = function(node) {
return node;
@@ -918,17 +918,17 @@ window.CustomElements.addModule(function(scope) {
}
}
function bootstrap() {
upgradeDocumentTree(wrap(document));
upgradeDocumentTree(window.wrap(document));
if (window.HTMLImports) {
HTMLImports.__importsParsingHook = function(elt) {
window.HTMLImports.__importsParsingHook = function(elt) {
upgradeDocumentTree(wrap(elt.import));
};
}
CustomElements.ready = true;
window.CustomElements.ready = true;
setTimeout(function() {
CustomElements.readyTime = Date.now();
window.CustomElements.readyTime = Date.now();
if (window.HTMLImports) {
CustomElements.elapsed = CustomElements.readyTime - HTMLImports.readyTime;
window.CustomElements.elapsed = window.CustomElements.readyTime - window.HTMLImports.readyTime;
}
document.dispatchEvent(new CustomEvent("WebComponentsReady", {
bubbles: true
@@ -956,7 +956,7 @@ window.CustomElements.addModule(function(scope) {
} else if (document.readyState === "interactive" && !window.attachEvent && (!window.HTMLImports || window.HTMLImports.ready)) {
bootstrap();
} else {
var loadEvent = window.HTMLImports && !HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
var loadEvent = window.HTMLImports && !window.HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
window.addEventListener(loadEvent, bootstrap);
}
scope.isIE11OrOlder = isIE11OrOlder;

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@
* 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
*/
// @version 0.7.4
// @version 0.7.5
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
@@ -352,12 +352,12 @@ window.HTMLImports = window.HTMLImports || {
var useNative = Boolean(IMPORT_LINK_TYPE in document.createElement("link"));
var hasShadowDOMPolyfill = Boolean(window.ShadowDOMPolyfill);
var wrap = function(node) {
return hasShadowDOMPolyfill ? ShadowDOMPolyfill.wrapIfNeeded(node) : node;
return hasShadowDOMPolyfill ? window.ShadowDOMPolyfill.wrapIfNeeded(node) : node;
};
var rootDocument = wrap(document);
var currentScriptDescriptor = {
get: function() {
var script = HTMLImports.currentScript || document.currentScript || (document.readyState !== "complete" ? document.scripts[document.scripts.length - 1] : null);
var script = window.HTMLImports.currentScript || document.currentScript || (document.readyState !== "complete" ? document.scripts[document.scripts.length - 1] : null);
return wrap(script);
},
configurable: true
@@ -473,8 +473,8 @@ window.HTMLImports = window.HTMLImports || {
})();
}
whenReady(function(detail) {
HTMLImports.ready = true;
HTMLImports.readyTime = new Date().getTime();
window.HTMLImports.ready = true;
window.HTMLImports.readyTime = new Date().getTime();
var evt = rootDocument.createEvent("CustomEvent");
evt.initCustomEvent("HTMLImportsLoaded", true, true, detail);
rootDocument.dispatchEvent(evt);
@@ -748,8 +748,8 @@ window.HTMLImports.addModule(function(scope) {
}
},
parseImport: function(elt) {
if (HTMLImports.__importsParsingHook) {
HTMLImports.__importsParsingHook(elt);
if (window.HTMLImports.__importsParsingHook) {
window.HTMLImports.__importsParsingHook(elt);
}
if (elt.import) {
elt.import.__importParsed = true;
@@ -1075,7 +1075,7 @@ window.HTMLImports.addModule(function(scope) {
initializeModules();
var rootDocument = scope.rootDocument;
function bootstrap() {
HTMLImports.importer.bootDocument(rootDocument);
window.HTMLImports.importer.bootDocument(rootDocument);
}
if (document.readyState === "complete" || document.readyState === "interactive" && !window.attachEvent) {
bootstrap();

4
HTMLImports.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@
* 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
*/
// @version 0.7.4
// @version 0.7.5
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@
* 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
*/
// @version 0.7.4
// @version 0.7.5
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;

2
ShadowDOM.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,15 @@
{
"name": "webcomponentsjs",
"main": "webcomponents.js",
"version": "0.7.4",
"version": "0.7.5",
"homepage": "http://webcomponents.org",
"authors": [
"The Polymer Authors"
],
"repository": {
"type": "git",
"url": "https://github.com/webcomponents/webcomponentsjs.git"
},
"keywords": [
"webcomponents"
],

View File

@@ -1,33 +1,33 @@
BUILD LOG
---------
Build Time: 2015-06-17T16:34:06-0700
Build Time: 2015-06-17T19:01:18-0700
NODEJS INFORMATION
==================
nodejs: v2.3.0
gulp: 3.9.0
gulp-audit: 1.0.0
gulp-concat: 2.5.2
gulp-header: 1.2.2
gulp-audit: 1.0.0
gulp-uglify: 1.2.0
run-sequence: 1.1.0
web-component-tester: 3.1.7
run-sequence: 1.1.1
web-component-tester: 3.2.0
REPO REVISIONS
==============
webcomponentsjs: 1e997327a07a06b323cfd9c0f2f20be2f19622bd
webcomponentsjs: 1ee61faca40f109f2f5b6ddc8fa15de0319a6e61
BUILD HASHES
============
CustomElements.js: d0e14910e243a273a4232a306fa9aaadd42e2e62
CustomElements.min.js: 52ebed21c61ef87600b5cbd3be1be3c6b3ff6717
HTMLImports.js: 77031f405ed92311e00dcdf5156334904c3dfd55
HTMLImports.min.js: 797f433d6c93eba33b4d3f78c5dc6256bfe9b022
MutationObserver.js: 1a841a203cb205dea00ac8b9cf556b84163287c6
MutationObserver.min.js: 2e89fddb7b0853569badbb7c8f118740731d9265
ShadowDOM.js: 7f1a370e34c703563184bc933e0e0eaa239d6e39
ShadowDOM.min.js: 18aaa44f83dfd1394922c44405a00bd0e5dd1fb6
webcomponents-lite.js: ec37bb39c88c6350adccb715944c0c3a16a2786b
webcomponents-lite.min.js: 3cb97939dcae210442fb011fffcd2d8c0f0c1922
webcomponents.js: 0ef8e88c6adb8fd49494c8d028e8ba5f77ca1ebf
webcomponents.min.js: 6b2a0409ca8406a2dc4dfc2f2e151ba271f6b29d
CustomElements.js: f3f0c7f3c65aeb5cc56c64300fe89003a4c7fa31
CustomElements.min.js: 557ccd338ab463c9bcd1e3c0fc4102455432214a
HTMLImports.js: 8c1f33a777d7ff8ee3a22fce8d35e5b927285724
HTMLImports.min.js: f4ba44076c40f408c661caa8baf81f9e3740689b
MutationObserver.js: 81934731acd4175701d678dbef11aaefa7d701f5
MutationObserver.min.js: 6202537174240ba28bf71e22cddf90ce80cf73f8
ShadowDOM.js: 5e901cfe7eb384f15a39b1bf4e510a06ae03b43e
ShadowDOM.min.js: 397715836fdd0cfe15a5e966f5ab187ccc1bec15
webcomponents-lite.js: 5c38f87a645eea9d282de74340c101e5531cb2c0
webcomponents-lite.min.js: 2a744443fbfba6b30fde7b17606f68cae6036e52
webcomponents.js: 637cf33c1ee108fb376891eed0b5b47deed8c238
webcomponents.min.js: c2841b948265560478872747618cad207a693c4f

View File

@@ -1,6 +1,6 @@
{
"name": "webcomponents.js",
"version": "0.7.4",
"version": "0.7.5",
"description": "webcomponents.js",
"main": "webcomponents.js",
"directories": {

View File

@@ -7,7 +7,7 @@
* 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
*/
// @version 0.7.4
// @version 0.7.5
window.WebComponents = window.WebComponents || {};
(function(scope) {
@@ -920,12 +920,12 @@ window.HTMLImports = window.HTMLImports || {
var useNative = Boolean(IMPORT_LINK_TYPE in document.createElement("link"));
var hasShadowDOMPolyfill = Boolean(window.ShadowDOMPolyfill);
var wrap = function(node) {
return hasShadowDOMPolyfill ? ShadowDOMPolyfill.wrapIfNeeded(node) : node;
return hasShadowDOMPolyfill ? window.ShadowDOMPolyfill.wrapIfNeeded(node) : node;
};
var rootDocument = wrap(document);
var currentScriptDescriptor = {
get: function() {
var script = HTMLImports.currentScript || document.currentScript || (document.readyState !== "complete" ? document.scripts[document.scripts.length - 1] : null);
var script = window.HTMLImports.currentScript || document.currentScript || (document.readyState !== "complete" ? document.scripts[document.scripts.length - 1] : null);
return wrap(script);
},
configurable: true
@@ -1041,8 +1041,8 @@ window.HTMLImports = window.HTMLImports || {
})();
}
whenReady(function(detail) {
HTMLImports.ready = true;
HTMLImports.readyTime = new Date().getTime();
window.HTMLImports.ready = true;
window.HTMLImports.readyTime = new Date().getTime();
var evt = rootDocument.createEvent("CustomEvent");
evt.initCustomEvent("HTMLImportsLoaded", true, true, detail);
rootDocument.dispatchEvent(evt);
@@ -1316,8 +1316,8 @@ window.HTMLImports.addModule(function(scope) {
}
},
parseImport: function(elt) {
if (HTMLImports.__importsParsingHook) {
HTMLImports.__importsParsingHook(elt);
if (window.HTMLImports.__importsParsingHook) {
window.HTMLImports.__importsParsingHook(elt);
}
if (elt.import) {
elt.import.__importParsed = true;
@@ -1643,7 +1643,7 @@ window.HTMLImports.addModule(function(scope) {
initializeModules();
var rootDocument = scope.rootDocument;
function bootstrap() {
HTMLImports.importer.bootDocument(rootDocument);
window.HTMLImports.importer.bootDocument(rootDocument);
}
if (document.readyState === "complete" || document.readyState === "interactive" && !window.attachEvent) {
bootstrap();
@@ -1670,11 +1670,11 @@ window.CustomElements = window.CustomElements || {
scope.addModule = addModule;
scope.initializeModules = initializeModules;
scope.hasNative = Boolean(document.registerElement);
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || HTMLImports.useNative);
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || window.HTMLImports.useNative);
})(window.CustomElements);
window.CustomElements.addModule(function(scope) {
var IMPORT_LINK_TYPE = window.HTMLImports ? HTMLImports.IMPORT_LINK_TYPE : "none";
var IMPORT_LINK_TYPE = window.HTMLImports ? window.HTMLImports.IMPORT_LINK_TYPE : "none";
function forSubtree(node, cb) {
findAllElements(node, function(e) {
if (cb(e)) {
@@ -1711,7 +1711,7 @@ window.CustomElements.addModule(function(scope) {
_forDocumentTree(doc, cb, []);
}
function _forDocumentTree(doc, cb, processingDocuments) {
doc = wrap(doc);
doc = window.wrap(doc);
if (processingDocuments.indexOf(doc) >= 0) {
return;
}
@@ -1873,9 +1873,9 @@ window.CustomElements.addModule(function(scope) {
flags.dom && console.groupEnd();
}
function takeRecords(node) {
node = wrap(node);
node = window.wrap(node);
if (!node) {
node = wrap(document);
node = window.wrap(document);
}
while (node.parentNode) {
node = node.parentNode;
@@ -1899,7 +1899,7 @@ window.CustomElements.addModule(function(scope) {
inRoot.__observer = observer;
}
function upgradeDocument(doc) {
doc = wrap(doc);
doc = window.wrap(doc);
flags.dom && console.group("upgradeDocument: ", doc.baseURI.split("/").pop());
addedNode(doc);
observe(doc);
@@ -1912,7 +1912,7 @@ window.CustomElements.addModule(function(scope) {
if (originalCreateShadowRoot) {
Element.prototype.createShadowRoot = function() {
var root = originalCreateShadowRoot.call(this);
CustomElements.watchShadow(this);
window.CustomElements.watchShadow(this);
return root;
};
}
@@ -2218,8 +2218,8 @@ window.CustomElements.addModule(function(scope) {
var upgradeDocumentTree = scope.upgradeDocumentTree;
if (!window.wrap) {
if (window.ShadowDOMPolyfill) {
window.wrap = ShadowDOMPolyfill.wrapIfNeeded;
window.unwrap = ShadowDOMPolyfill.unwrapIfNeeded;
window.wrap = window.ShadowDOMPolyfill.wrapIfNeeded;
window.unwrap = window.ShadowDOMPolyfill.unwrapIfNeeded;
} else {
window.wrap = window.unwrap = function(node) {
return node;
@@ -2227,17 +2227,17 @@ window.CustomElements.addModule(function(scope) {
}
}
function bootstrap() {
upgradeDocumentTree(wrap(document));
upgradeDocumentTree(window.wrap(document));
if (window.HTMLImports) {
HTMLImports.__importsParsingHook = function(elt) {
window.HTMLImports.__importsParsingHook = function(elt) {
upgradeDocumentTree(wrap(elt.import));
};
}
CustomElements.ready = true;
window.CustomElements.ready = true;
setTimeout(function() {
CustomElements.readyTime = Date.now();
window.CustomElements.readyTime = Date.now();
if (window.HTMLImports) {
CustomElements.elapsed = CustomElements.readyTime - HTMLImports.readyTime;
window.CustomElements.elapsed = window.CustomElements.readyTime - window.HTMLImports.readyTime;
}
document.dispatchEvent(new CustomEvent("WebComponentsReady", {
bubbles: true
@@ -2265,7 +2265,7 @@ window.CustomElements.addModule(function(scope) {
} else if (document.readyState === "interactive" && !window.attachEvent && (!window.HTMLImports || window.HTMLImports.ready)) {
bootstrap();
} else {
var loadEvent = window.HTMLImports && !HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
var loadEvent = window.HTMLImports && !window.HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
window.addEventListener(loadEvent, bootstrap);
}
scope.isIE11OrOlder = isIE11OrOlder;
@@ -2291,7 +2291,7 @@ if (typeof HTMLTemplateElement === "undefined") {
HTMLTemplateElement.decorate(t);
}
};
addEventListener("DOMContentLoaded", function() {
window.addEventListener("DOMContentLoaded", function() {
HTMLTemplateElement.bootstrap(document);
});
var createElement = document.createElement;

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@
* 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
*/
// @version 0.7.4
// @version 0.7.5
window.WebComponents = window.WebComponents || {};
(function(scope) {
@@ -5689,12 +5689,12 @@ window.HTMLImports = window.HTMLImports || {
var useNative = Boolean(IMPORT_LINK_TYPE in document.createElement("link"));
var hasShadowDOMPolyfill = Boolean(window.ShadowDOMPolyfill);
var wrap = function(node) {
return hasShadowDOMPolyfill ? ShadowDOMPolyfill.wrapIfNeeded(node) : node;
return hasShadowDOMPolyfill ? window.ShadowDOMPolyfill.wrapIfNeeded(node) : node;
};
var rootDocument = wrap(document);
var currentScriptDescriptor = {
get: function() {
var script = HTMLImports.currentScript || document.currentScript || (document.readyState !== "complete" ? document.scripts[document.scripts.length - 1] : null);
var script = window.HTMLImports.currentScript || document.currentScript || (document.readyState !== "complete" ? document.scripts[document.scripts.length - 1] : null);
return wrap(script);
},
configurable: true
@@ -5810,8 +5810,8 @@ window.HTMLImports = window.HTMLImports || {
})();
}
whenReady(function(detail) {
HTMLImports.ready = true;
HTMLImports.readyTime = new Date().getTime();
window.HTMLImports.ready = true;
window.HTMLImports.readyTime = new Date().getTime();
var evt = rootDocument.createEvent("CustomEvent");
evt.initCustomEvent("HTMLImportsLoaded", true, true, detail);
rootDocument.dispatchEvent(evt);
@@ -6085,8 +6085,8 @@ window.HTMLImports.addModule(function(scope) {
}
},
parseImport: function(elt) {
if (HTMLImports.__importsParsingHook) {
HTMLImports.__importsParsingHook(elt);
if (window.HTMLImports.__importsParsingHook) {
window.HTMLImports.__importsParsingHook(elt);
}
if (elt.import) {
elt.import.__importParsed = true;
@@ -6412,7 +6412,7 @@ window.HTMLImports.addModule(function(scope) {
initializeModules();
var rootDocument = scope.rootDocument;
function bootstrap() {
HTMLImports.importer.bootDocument(rootDocument);
window.HTMLImports.importer.bootDocument(rootDocument);
}
if (document.readyState === "complete" || document.readyState === "interactive" && !window.attachEvent) {
bootstrap();
@@ -6439,11 +6439,11 @@ window.CustomElements = window.CustomElements || {
scope.addModule = addModule;
scope.initializeModules = initializeModules;
scope.hasNative = Boolean(document.registerElement);
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || HTMLImports.useNative);
scope.useNative = !flags.register && scope.hasNative && !window.ShadowDOMPolyfill && (!window.HTMLImports || window.HTMLImports.useNative);
})(window.CustomElements);
window.CustomElements.addModule(function(scope) {
var IMPORT_LINK_TYPE = window.HTMLImports ? HTMLImports.IMPORT_LINK_TYPE : "none";
var IMPORT_LINK_TYPE = window.HTMLImports ? window.HTMLImports.IMPORT_LINK_TYPE : "none";
function forSubtree(node, cb) {
findAllElements(node, function(e) {
if (cb(e)) {
@@ -6480,7 +6480,7 @@ window.CustomElements.addModule(function(scope) {
_forDocumentTree(doc, cb, []);
}
function _forDocumentTree(doc, cb, processingDocuments) {
doc = wrap(doc);
doc = window.wrap(doc);
if (processingDocuments.indexOf(doc) >= 0) {
return;
}
@@ -6642,9 +6642,9 @@ window.CustomElements.addModule(function(scope) {
flags.dom && console.groupEnd();
}
function takeRecords(node) {
node = wrap(node);
node = window.wrap(node);
if (!node) {
node = wrap(document);
node = window.wrap(document);
}
while (node.parentNode) {
node = node.parentNode;
@@ -6668,7 +6668,7 @@ window.CustomElements.addModule(function(scope) {
inRoot.__observer = observer;
}
function upgradeDocument(doc) {
doc = wrap(doc);
doc = window.wrap(doc);
flags.dom && console.group("upgradeDocument: ", doc.baseURI.split("/").pop());
addedNode(doc);
observe(doc);
@@ -6681,7 +6681,7 @@ window.CustomElements.addModule(function(scope) {
if (originalCreateShadowRoot) {
Element.prototype.createShadowRoot = function() {
var root = originalCreateShadowRoot.call(this);
CustomElements.watchShadow(this);
window.CustomElements.watchShadow(this);
return root;
};
}
@@ -6987,8 +6987,8 @@ window.CustomElements.addModule(function(scope) {
var upgradeDocumentTree = scope.upgradeDocumentTree;
if (!window.wrap) {
if (window.ShadowDOMPolyfill) {
window.wrap = ShadowDOMPolyfill.wrapIfNeeded;
window.unwrap = ShadowDOMPolyfill.unwrapIfNeeded;
window.wrap = window.ShadowDOMPolyfill.wrapIfNeeded;
window.unwrap = window.ShadowDOMPolyfill.unwrapIfNeeded;
} else {
window.wrap = window.unwrap = function(node) {
return node;
@@ -6996,17 +6996,17 @@ window.CustomElements.addModule(function(scope) {
}
}
function bootstrap() {
upgradeDocumentTree(wrap(document));
upgradeDocumentTree(window.wrap(document));
if (window.HTMLImports) {
HTMLImports.__importsParsingHook = function(elt) {
window.HTMLImports.__importsParsingHook = function(elt) {
upgradeDocumentTree(wrap(elt.import));
};
}
CustomElements.ready = true;
window.CustomElements.ready = true;
setTimeout(function() {
CustomElements.readyTime = Date.now();
window.CustomElements.readyTime = Date.now();
if (window.HTMLImports) {
CustomElements.elapsed = CustomElements.readyTime - HTMLImports.readyTime;
window.CustomElements.elapsed = window.CustomElements.readyTime - window.HTMLImports.readyTime;
}
document.dispatchEvent(new CustomEvent("WebComponentsReady", {
bubbles: true
@@ -7034,7 +7034,7 @@ window.CustomElements.addModule(function(scope) {
} else if (document.readyState === "interactive" && !window.attachEvent && (!window.HTMLImports || window.HTMLImports.ready)) {
bootstrap();
} else {
var loadEvent = window.HTMLImports && !HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
var loadEvent = window.HTMLImports && !window.HTMLImports.ready ? "HTMLImportsLoaded" : "DOMContentLoaded";
window.addEventListener(loadEvent, bootstrap);
}
scope.isIE11OrOlder = isIE11OrOlder;
@@ -7110,7 +7110,7 @@ window.CustomElements.addModule(function(scope) {
if (HTMLImports.useNative) {
installPolymerWarning();
} else {
addEventListener("DOMContentLoaded", installPolymerWarning);
window.addEventListener("DOMContentLoaded", installPolymerWarning);
}
})(window.WebComponents);

File diff suppressed because one or more lines are too long