Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
release v0.7.15
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Oct 16, 2015
2 parents 48194e6 + 185a01c commit d90a442
Show file tree
Hide file tree
Showing 15 changed files with 105 additions and 76 deletions.
19 changes: 13 additions & 6 deletions CustomElements.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.14
// @version 0.7.15
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down Expand Up @@ -45,6 +45,9 @@ if (typeof WeakMap === "undefined") {
}

(function(global) {
if (global.JsMutationObserver) {
return;
}
var registrationsTable = new WeakMap();
var setImmediate;
if (/Trident|Edge/.test(navigator.userAgent)) {
Expand Down Expand Up @@ -340,7 +343,10 @@ if (typeof WeakMap === "undefined") {
}
};
global.JsMutationObserver = JsMutationObserver;
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
if (!global.MutationObserver) {
global.MutationObserver = JsMutationObserver;
JsMutationObserver._isPolyfilled = true;
}
})(self);

window.CustomElements = window.CustomElements || {
Expand Down Expand Up @@ -442,8 +448,9 @@ window.CustomElements.addModule(function(scope) {
}
});
}
var hasPolyfillMutations = !window.MutationObserver || window.MutationObserver === window.JsMutationObserver;
scope.hasPolyfillMutations = hasPolyfillMutations;
var hasThrottledAttached = window.MutationObserver._isPolyfilled && flags["throttle-attached"];
scope.hasPolyfillMutations = hasThrottledAttached;
scope.hasThrottledAttached = hasThrottledAttached;
var isPendingMutations = false;
var pendingMutations = [];
function deferMutation(fn) {
Expand All @@ -462,7 +469,7 @@ window.CustomElements.addModule(function(scope) {
pendingMutations = [];
}
function attached(element) {
if (hasPolyfillMutations) {
if (hasThrottledAttached) {
deferMutation(function() {
_attached(element);
});
Expand All @@ -485,7 +492,7 @@ window.CustomElements.addModule(function(scope) {
});
}
function detached(element) {
if (hasPolyfillMutations) {
if (hasThrottledAttached) {
deferMutation(function() {
_detached(element);
});
Expand Down
4 changes: 2 additions & 2 deletions CustomElements.min.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions HTMLImports.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.14
// @version 0.7.15
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down Expand Up @@ -45,6 +45,9 @@ if (typeof WeakMap === "undefined") {
}

(function(global) {
if (global.JsMutationObserver) {
return;
}
var registrationsTable = new WeakMap();
var setImmediate;
if (/Trident|Edge/.test(navigator.userAgent)) {
Expand Down Expand Up @@ -340,7 +343,10 @@ if (typeof WeakMap === "undefined") {
}
};
global.JsMutationObserver = JsMutationObserver;
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
if (!global.MutationObserver) {
global.MutationObserver = JsMutationObserver;
JsMutationObserver._isPolyfilled = true;
}
})(self);

window.HTMLImports = window.HTMLImports || {
Expand Down
4 changes: 2 additions & 2 deletions HTMLImports.min.js

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions MutationObserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.14
// @version 0.7.15
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down Expand Up @@ -45,6 +45,9 @@ if (typeof WeakMap === "undefined") {
}

(function(global) {
if (global.JsMutationObserver) {
return;
}
var registrationsTable = new WeakMap();
var setImmediate;
if (/Trident|Edge/.test(navigator.userAgent)) {
Expand Down Expand Up @@ -340,5 +343,8 @@ if (typeof WeakMap === "undefined") {
}
};
global.JsMutationObserver = JsMutationObserver;
if (!global.MutationObserver) global.MutationObserver = JsMutationObserver;
if (!global.MutationObserver) {
global.MutationObserver = JsMutationObserver;
JsMutationObserver._isPolyfilled = true;
}
})(self);
4 changes: 2 additions & 2 deletions MutationObserver.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ShadowDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.14
// @version 0.7.15
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down
4 changes: 2 additions & 2 deletions ShadowDOM.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webcomponentsjs",
"main": "webcomponents.js",
"version": "0.7.14",
"version": "0.7.15",
"homepage": "http://webcomponents.org",
"authors": [
"The Polymer Authors"
Expand Down
34 changes: 17 additions & 17 deletions build.log
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
BUILD LOG
---------
Build Time: 2015-09-28T16:50:31-0700
Build Time: 2015-10-16T14:18:33-0700

NODEJS INFORMATION
==================
nodejs: v4.1.1
nodejs: v4.2.0
gulp: 3.9.0
gulp-audit: 1.0.0
gulp-concat: 2.6.0
gulp-header: 1.7.1
gulp-uglify: 1.4.1
gulp-uglify: 1.4.2
run-sequence: 1.1.4
web-component-tester: 3.3.22
web-component-tester: 3.3.26

REPO REVISIONS
==============
webcomponentsjs: c469b0002fa265416c83d5c8363071705e345a43
webcomponentsjs: 185a01c1e6c9941e8d568d321eaec242e5ddd229

BUILD HASHES
============
CustomElements.js: 0d46b5c2bb7c92b6285d574205ca65e49def0617
CustomElements.min.js: 2de71b634cd1545c401981c68fc31f0a12dd5f82
HTMLImports.js: 0ddc177cadf99dd47b36bd74296f9d23dc566f25
HTMLImports.min.js: 43d3866825148a8d0509da06a1e55550762255a9
MutationObserver.js: 54ad1e3273edc525d1e4e0b75c42e25af7a0fb20
MutationObserver.min.js: 36c22670e654ace2e7440c2dc4b012802080424b
ShadowDOM.js: 089f8e6ea35f4365a2bece6481308d2002975e51
ShadowDOM.min.js: 9d044a4e4221245adf257b229f9c67968f95f955
webcomponents-lite.js: 8c326ce2b8e40aa4aefe7469f7cf8587c2c625da
webcomponents-lite.min.js: ce8cf899652990697eb80703ebacf0ae997f7361
webcomponents.js: fd409f4fab68b8bcc27a6a54e2ec16555a5eaa47
webcomponents.min.js: efcdb4322c84f68f8c9e9cfc359505c263814051
CustomElements.js: 943d9f48ad71b444a2eff5c995081b5364777a5f
CustomElements.min.js: e11be05c876cc665b51dc0f693c200b68c172cd7
HTMLImports.js: d65caa6ed3b4aff6640da7b1c00ad2661a8e2f79
HTMLImports.min.js: bb01992d2b0889613f7c64bb89745ee64b819106
MutationObserver.js: 92f7182e2491f59108795b1d4fdec0cc10937f40
MutationObserver.min.js: e563d884955f03335a7ad928497561bdaef7c3a4
ShadowDOM.js: fb8c9b07450dd52a6f63119d1236d02da67e5f9b
ShadowDOM.min.js: 8f463e01093c9f4f272c465f1a67aaa98e12f11e
webcomponents-lite.js: de3ae0944d938a3f604c024d41f42e75284c7a78
webcomponents-lite.min.js: b45f7a55ae166f10da35759ef1c8a08164cec639
webcomponents.js: d0c9136405a15ad263eed2a2df4b7179ef8dd0ba
webcomponents.min.js: 73f28593e35232c67e31bacbf612b168e1f24e1f
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webcomponents.js",
"version": "0.7.14",
"version": "0.7.15",
"description": "webcomponents.js",
"main": "webcomponents.js",
"directories": {
Expand Down
Loading

0 comments on commit d90a442

Please sign in to comment.