Skip to content

Commit c1058a2

Browse files
committed
Freshen v0 polyfill
1 parent 5086fe9 commit c1058a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polyfills/vendor/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.24
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() {

0 commit comments

Comments
 (0)