Skip to content
This repository
Browse code

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

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

0 comments on commit b03b7b0

Please sign in to comment.
Something went wrong with that request. Please try again.