Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update to use Modernizr.prefixed() and remove performance memory.

  • Loading branch information...
commit b03b7b0f8ce25bdc83fb66916a7a8689b49e54f4 1 parent e25f212
@uxder uxder authored
View
5 feature-detects/performance-memory.js
@@ -1,5 +0,0 @@
-// Navigation Timing (Performance)
-// http://www.html5rocks.com/en/tutorials/webperformance/basics/
-// Currently only available in Chrome
-// By Scott Murphy (uxder)
-Modernizr.addTest('performancememory', !!(window.performance.memory));
View
2  feature-detects/performance.js
@@ -2,4 +2,4 @@
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/
// http://www.html5rocks.com/en/tutorials/webperformance/basics/
// By Scott Murphy (uxder)
-Modernizr.addTest('performance', !!(window.performance));
+Modernizr.addTest('performance', !!Modernizr.prefixed('performance', window));
Please sign in to comment.
Something went wrong with that request. Please try again.