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

Commit 8bd4555

Browse files
committed
Release 0.7.1
2 parents cd9e05c + c22c0c4 commit 8bd4555

15 files changed

+104
-49
lines changed

CustomElements.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Code distributed by Google as part of the polymer project is also
88
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
99
*/
10-
// @version 0.6.1
10+
// @version 0.7.1
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;
@@ -807,6 +807,12 @@ CustomElements.addModule(function(scope) {
807807
}
808808
}
809809
function createElement(tag, typeExtension) {
810+
if (tag) {
811+
tag = tag.toLowerCase();
812+
}
813+
if (typeExtension) {
814+
typeExtension = typeExtension.toLowerCase();
815+
}
810816
var definition = getRegisteredDefinition(typeExtension || tag);
811817
if (definition) {
812818
if (tag == definition.tag && typeExtension == definition.is) {

CustomElements.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

HTMLImports.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Code distributed by Google as part of the polymer project is also
88
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
99
*/
10-
// @version 0.6.1
10+
// @version 0.7.1
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;
@@ -697,7 +697,7 @@ HTMLImports.addModule(function(scope) {
697697
var IMPORT_SELECTOR = "link[rel=" + IMPORT_LINK_TYPE + "]";
698698
var importParser = {
699699
documentSelectors: IMPORT_SELECTOR,
700-
importsSelectors: [ IMPORT_SELECTOR, "link[rel=stylesheet]", "style", "script:not([type])", 'script[type="text/javascript"]' ].join(","),
700+
importsSelectors: [ IMPORT_SELECTOR, "link[rel=stylesheet]", "style", "script:not([type])", 'script[type="application/javascript"]', 'script[type="text/javascript"]' ].join(","),
701701
map: {
702702
link: "parseLink",
703703
script: "parseScript",

HTMLImports.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MutationObserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Code distributed by Google as part of the polymer project is also
88
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
99
*/
10-
// @version 0.6.1
10+
// @version 0.7.1
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;

MutationObserver.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ShadowDOM.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Code distributed by Google as part of the polymer project is also
88
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
99
*/
10-
// @version 0.6.1
10+
// @version 0.7.1
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;
@@ -205,6 +205,9 @@ window.ShadowDOMPolyfill = {};
205205
}
206206
}
207207
function register(nativeConstructor, wrapperConstructor, opt_instance) {
208+
if (nativeConstructor == null) {
209+
return;
210+
}
208211
var nativePrototype = nativeConstructor.prototype;
209212
registerInternal(nativePrototype, wrapperConstructor, opt_instance);
210213
mixinStatics(wrapperConstructor, nativeConstructor);

ShadowDOM.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "webcomponentsjs",
33
"main": "webcomponents.js",
4-
"version": "0.7.0",
4+
"version": "0.7.1",
55
"homepage": "http://webcomponents.org",
66
"authors": [
77
"The Polymer Authors"

build.log

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
BUILD LOG
22
---------
3-
Build Time: 2015-05-13T18:16:38-0700
3+
Build Time: 2015-05-22T22:28:11-0700
44

55
NODEJS INFORMATION
66
==================
7-
nodejs: v0.12.0
7+
nodejs: v2.0.2
88
gulp: 3.8.11
99
gulp-audit: 1.0.0
1010
gulp-concat: 2.5.2
1111
gulp-header: 1.2.2
12-
gulp-uglify: 1.2.0
13-
run-sequence: 1.1.0
1412
web-component-tester: 3.1.3
13+
run-sequence: 1.1.0
14+
gulp-uglify: 1.2.0
1515

1616
REPO REVISIONS
1717
==============
18-
webcomponentsjs: ae3533859ab57edcd3a88a0092660bd970c94de4
18+
webcomponentsjs: c22c0c44751492aa411d7a1e8a84f644bcce66e0
1919

2020
BUILD HASHES
2121
============
22-
CustomElements.js: 2292abfeeb0ca0e03314f35edc50867c89b2dc93
23-
CustomElements.min.js: 131750c5b4297103b7702bb9123498bd5d4113a3
24-
HTMLImports.js: 5488833312a155d45744190715c0a702ba4d1340
25-
HTMLImports.min.js: 3d3cc90f2ff3fd718cb80253b4dc18ac54157411
26-
MutationObserver.js: 0ca30f350afe701a04d1c541430ada0a38183ed6
27-
MutationObserver.min.js: a40d2bacdd218c2268ba81da112ba82e1dbc5cb2
28-
ShadowDOM.js: f054a0ffe44dadf0435699edf1a824f0c731a413
29-
ShadowDOM.min.js: d9d342dbc43e45abba401b64f023657fc871336d
30-
webcomponents-lite.js: 1ce1cd2cc25e40252ac8f335a4849a30a20465a8
31-
webcomponents-lite.min.js: 65c4e97fded2f7f557a5288a39b3b0fb8fd7cf88
32-
webcomponents.js: 548655e6763e0cdcdebe5b67dea6d452b12079a2
33-
webcomponents.min.js: 29c327541658cc2cf2d0838db1dcbf34eb4a5ce0
22+
CustomElements.js: 5dbead2a9f370457daae8453dd30fc0dfef4adc6
23+
CustomElements.min.js: 14444f6a58dbc9be04ab56ce672eb01eeeba7c99
24+
HTMLImports.js: 122e2ae7aee84e8986dc6af86c7a65c57cad3545
25+
HTMLImports.min.js: 4a8116a4827310a802e56d94d970f4e24195d13e
26+
MutationObserver.js: f63e1a1c7fcb21d07529ff5a957d9fe0742e6a58
27+
MutationObserver.min.js: b1e2398cb829fbe113090c0cbba76711738b24ae
28+
ShadowDOM.js: 71228305c0aebb2cc4049be46beefc2a93915af2
29+
ShadowDOM.min.js: 6cde4400a9d43ff5bcd62adbbe1cbc893aa96813
30+
webcomponents-lite.js: 65f05b299f9f36fca12fa3d893c2975935b9191b
31+
webcomponents-lite.min.js: 7d39eede6752d8a2bd6ee643674b7c75b5828512
32+
webcomponents.js: 80ebf505e8340bdd6fbabaebdd2c6c091022cb3e
33+
webcomponents.min.js: 032ba31478304ce606c76c12d6d266d7635a24e8

0 commit comments

Comments
 (0)