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.20
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Dec 16, 2015
2 parents d2b2329 + 5f12843 commit ce9c859
Show file tree
Hide file tree
Showing 15 changed files with 69 additions and 47 deletions.
2 changes: 1 addition & 1 deletion 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.19
// @version 0.7.20
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down
2 changes: 1 addition & 1 deletion CustomElements.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion 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.19
// @version 0.7.20
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down Expand Up @@ -496,6 +496,7 @@ window.HTMLImports = window.HTMLImports || {
if (importCount) {
for (var i = 0, imp; i < importCount && (imp = imports[i]); i++) {
if (isImportLoaded(imp)) {
newImports.push(this);
parsedCount++;
checkDone();
} else {
Expand Down
4 changes: 2 additions & 2 deletions HTMLImports.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 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.19
// @version 0.7.20
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down
2 changes: 1 addition & 1 deletion MutationObserver.min.js

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

14 changes: 11 additions & 3 deletions 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.19
// @version 0.7.20
if (typeof WeakMap === "undefined") {
(function() {
var defineProperty = Object.defineProperty;
Expand Down Expand Up @@ -306,6 +306,7 @@ window.ShadowDOMPolyfill = {};
});
});
}
scope.addForwardingProperties = addForwardingProperties;
scope.assert = assert;
scope.constructorTable = constructorTable;
scope.defineGetter = defineGetter;
Expand Down Expand Up @@ -3295,6 +3296,7 @@ window.ShadowDOMPolyfill = {};

(function(scope) {
"use strict";
var addForwardingProperties = scope.addForwardingProperties;
var mixin = scope.mixin;
var registerWrapper = scope.registerWrapper;
var setWrapper = scope.setWrapper;
Expand All @@ -3319,6 +3321,10 @@ window.ShadowDOMPolyfill = {};
unsafeUnwrap(this).texSubImage2D.apply(unsafeUnwrap(this), arguments);
}
});
var OriginalWebGLRenderingContextBase = Object.getPrototypeOf(OriginalWebGLRenderingContext.prototype);
if (OriginalWebGLRenderingContextBase !== Object.prototype) {
addForwardingProperties(OriginalWebGLRenderingContextBase, WebGLRenderingContext.prototype);
}
var instanceProperties = /WebKit/.test(navigator.userAgent) ? {
drawingBufferHeight: null,
drawingBufferWidth: null
Expand Down Expand Up @@ -3405,7 +3411,10 @@ window.ShadowDOMPolyfill = {};
var unwrappedActiveElement = unwrap(this).ownerDocument.activeElement;
if (!unwrappedActiveElement || !unwrappedActiveElement.nodeType) return null;
var activeElement = wrap(unwrappedActiveElement);
while (!this.contains(activeElement)) {
if (activeElement === this.host) {
return null;
}
while (!this.contains(activeElement) && !this.host.contains(activeElement)) {
while (activeElement.parentNode) {
activeElement = activeElement.parentNode;
}
Expand Down Expand Up @@ -4109,7 +4118,6 @@ window.ShadowDOMPolyfill = {};
if (!unwrappedActiveElement || !unwrappedActiveElement.nodeType) return null;
var activeElement = wrap(unwrappedActiveElement);
while (!this.contains(activeElement)) {
var lastHost = activeElement;
while (activeElement.parentNode) {
activeElement = activeElement.parentNode;
}
Expand Down
8 changes: 4 additions & 4 deletions ShadowDOM.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "webcomponentsjs",
"main": "webcomponents.js",
"version": "0.7.19",
"version": "0.7.20",
"homepage": "http://webcomponents.org",
"authors": [
"The Polymer Authors"
Expand All @@ -16,6 +16,6 @@
"license": "BSD",
"ignore": [],
"devDependencies": {
"web-component-tester": "~3.3.10"
"web-component-tester": "^4.0.1"
}
}
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-12-04T16:22:57-0800
Build Time: 2015-12-15T17:26:55-0800

NODEJS INFORMATION
==================
nodejs: v4.2.2
nodejs: v4.2.3
gulp: 3.9.0
gulp-concat: 2.6.0
gulp-audit: 1.0.0
gulp-concat: 2.6.0
gulp-header: 1.7.1
gulp-uglify: 1.5.1
run-sequence: 1.1.5
web-component-tester: 3.4.2
web-component-tester: 4.0.2

REPO REVISIONS
==============
webcomponentsjs: 396430f7a0b6c6576fd89c0cb4d452e5de751acc
webcomponentsjs: 5f1284369eb57e94ca4e88d5d71ceaeb65d1c569

BUILD HASHES
============
CustomElements.js: 6ed97c5b08aa167e6816d14e44dced89125456d4
CustomElements.min.js: fb06a7ae03a1c53981f8dddf12378fea950939e8
HTMLImports.js: 4268ee56ebe672636cd655300d1181a4c89e6134
HTMLImports.min.js: b194ceb2d7f8fd44cb204b3010d39ca6e61be7ed
MutationObserver.js: 04f260c8b08afc70b9ae79958d23f4265117a5f2
MutationObserver.min.js: c2b1521086c2ba2aac8e66ca8f5b9d0af86f1a7c
ShadowDOM.js: 2f7ec402ccec544786ac107b356b873f9922d14d
ShadowDOM.min.js: 6405b36a169e8e64940726338899f4b43d4d7e30
webcomponents-lite.js: 9ce76c55a884c4b40c63bae34923a8cd5fa6b697
webcomponents-lite.min.js: 574896188fe95eed9c522d48e9199d136625cf55
webcomponents.js: 0ff38ede58a56bb6817af7eb9f8cd92033118331
webcomponents.min.js: 954404b8dce8d01e3476b3b69e47f9ae39d74c43
CustomElements.js: 2e3f1d24da1b907cc328b6276f336aed65a07f11
CustomElements.min.js: a762e3c191cc8d40094650317eace96595ddb2f7
HTMLImports.js: 83d1d2df9b1fc622712e33e61b42a11445699b6b
HTMLImports.min.js: a3f8245b26035a6452acadba2d95a5f2653b357e
MutationObserver.js: 830bdcc25cdc392491d29b350ca077308f3baf4d
MutationObserver.min.js: 73cbbfa3d44343e0286c133d7d5139dedd9a9765
ShadowDOM.js: fa039071d7f15dba05d9cea27267d048cfddd1bf
ShadowDOM.min.js: 975f1950c1347181b067a2d989ca1d8fafe854db
webcomponents-lite.js: ab4d2adff62906fe3860fed00ee2584146b0f162
webcomponents-lite.min.js: e59f28a7684cb56c84f83e411b13f0167c19898e
webcomponents.js: 4881aa5c0dc2d730053ea701b11566cc04464738
webcomponents.min.js: 305994efdabba100244df45ae6d86894bc69cd53
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webcomponents.js",
"version": "0.7.19",
"version": "0.7.20",
"description": "webcomponents.js",
"main": "webcomponents.js",
"directories": {
Expand All @@ -15,6 +15,9 @@
"bugs": {
"url": "https://github.com/webcomponents/webcomponentsjs/issues"
},
"scripts": {
"test": "wct"
},
"homepage": "http://webcomponents.org",
"devDependencies": {
"gulp": "^3.8.8",
Expand All @@ -23,6 +26,6 @@
"gulp-header": "^1.1.1",
"gulp-uglify": "^1.0.1",
"run-sequence": "^1.0.1",
"web-component-tester": "^3"
"web-component-tester": "^4.0.1"
}
}
3 changes: 2 additions & 1 deletion webcomponents-lite.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.19
// @version 0.7.20
(function() {
window.WebComponents = window.WebComponents || {
flags: {}
Expand Down Expand Up @@ -1143,6 +1143,7 @@ window.HTMLImports = window.HTMLImports || {
if (importCount) {
for (var i = 0, imp; i < importCount && (imp = imports[i]); i++) {
if (isImportLoaded(imp)) {
newImports.push(this);
parsedCount++;
checkDone();
} else {
Expand Down
6 changes: 3 additions & 3 deletions webcomponents-lite.min.js

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions webcomponents.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.19
// @version 0.7.20
(function() {
window.WebComponents = window.WebComponents || {
flags: {}
Expand Down Expand Up @@ -352,6 +352,7 @@ if (WebComponents.flags.shadow) {
});
});
}
scope.addForwardingProperties = addForwardingProperties;
scope.assert = assert;
scope.constructorTable = constructorTable;
scope.defineGetter = defineGetter;
Expand Down Expand Up @@ -3306,6 +3307,7 @@ if (WebComponents.flags.shadow) {
})(window.ShadowDOMPolyfill);
(function(scope) {
"use strict";
var addForwardingProperties = scope.addForwardingProperties;
var mixin = scope.mixin;
var registerWrapper = scope.registerWrapper;
var setWrapper = scope.setWrapper;
Expand All @@ -3330,6 +3332,10 @@ if (WebComponents.flags.shadow) {
unsafeUnwrap(this).texSubImage2D.apply(unsafeUnwrap(this), arguments);
}
});
var OriginalWebGLRenderingContextBase = Object.getPrototypeOf(OriginalWebGLRenderingContext.prototype);
if (OriginalWebGLRenderingContextBase !== Object.prototype) {
addForwardingProperties(OriginalWebGLRenderingContextBase, WebGLRenderingContext.prototype);
}
var instanceProperties = /WebKit/.test(navigator.userAgent) ? {
drawingBufferHeight: null,
drawingBufferWidth: null
Expand Down Expand Up @@ -3414,7 +3420,10 @@ if (WebComponents.flags.shadow) {
var unwrappedActiveElement = unwrap(this).ownerDocument.activeElement;
if (!unwrappedActiveElement || !unwrappedActiveElement.nodeType) return null;
var activeElement = wrap(unwrappedActiveElement);
while (!this.contains(activeElement)) {
if (activeElement === this.host) {
return null;
}
while (!this.contains(activeElement) && !this.host.contains(activeElement)) {
while (activeElement.parentNode) {
activeElement = activeElement.parentNode;
}
Expand Down Expand Up @@ -4112,7 +4121,6 @@ if (WebComponents.flags.shadow) {
if (!unwrappedActiveElement || !unwrappedActiveElement.nodeType) return null;
var activeElement = wrap(unwrappedActiveElement);
while (!this.contains(activeElement)) {
var lastHost = activeElement;
while (activeElement.parentNode) {
activeElement = activeElement.parentNode;
}
Expand Down Expand Up @@ -5908,6 +5916,7 @@ window.HTMLImports = window.HTMLImports || {
if (importCount) {
for (var i = 0, imp; i < importCount && (imp = imports[i]); i++) {
if (isImportLoaded(imp)) {
newImports.push(this);
parsedCount++;
checkDone();
} else {
Expand Down
10 changes: 5 additions & 5 deletions webcomponents.min.js

Large diffs are not rendered by default.

0 comments on commit ce9c859

Please sign in to comment.