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

Commit 9d6cb3a

Browse files
committed
release v0.7.23
2 parents 50f9751 + 9d43da6 commit 9d6cb3a

16 files changed

+312
-247
lines changed

CustomElements.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.7.22
10+
// @version 0.7.23
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;
@@ -351,7 +351,7 @@ if (typeof WeakMap === "undefined") {
351351

352352
(function(scope) {
353353
"use strict";
354-
if (!window.performance) {
354+
if (!(window.performance && window.performance.now)) {
355355
var start = Date.now();
356356
window.performance = {
357357
now: function() {

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.7.22
10+
// @version 0.7.23
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;
@@ -351,7 +351,7 @@ if (typeof WeakMap === "undefined") {
351351

352352
(function(scope) {
353353
"use strict";
354-
if (!window.performance) {
354+
if (!(window.performance && window.performance.now)) {
355355
var start = Date.now();
356356
window.performance = {
357357
now: function() {

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.7.22
10+
// @version 0.7.23
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;

MutationObserver.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.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
webcomponents.js
22
================
33

4-
[![Join the chat at https://gitter.im/webcomponents/webcomponentsjs](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/webcomponents/webcomponentsjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Build Status](https://travis-ci.org/webcomponents/webcomponentsjs.svg?branch=master)](https://travis-ci.org/webcomponents/webcomponentsjs)
55

66
A suite of polyfills supporting the [Web Components](http://webcomponents.org) specs:
77

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.7.22
10+
// @version 0.7.23
1111
if (typeof WeakMap === "undefined") {
1212
(function() {
1313
var defineProperty = Object.defineProperty;
@@ -165,6 +165,9 @@ window.ShadowDOMPolyfill = {};
165165
}
166166
function getDescriptor(source, name) {
167167
try {
168+
if (source === window && name === "showModalDialog") {
169+
return dummyDescriptor;
170+
}
168171
return Object.getOwnPropertyDescriptor(source, name);
169172
} catch (ex) {
170173
return dummyDescriptor;

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.22",
4+
"version": "0.7.23",
55
"homepage": "http://webcomponents.org",
66
"authors": [
77
"The Polymer Authors"

0 commit comments

Comments
 (0)