Skip to content

Commit

Permalink
Added a test to detect whether you can use Dart native
Browse files Browse the repository at this point in the history
  • Loading branch information
thvd committed Feb 14, 2012
1 parent eea4599 commit d78b9be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions feature-detects/dart.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Dart
// By Theodoor van Donge

// https://chromiumcodereview.appspot.com/9232049/

Modernizr.addTest('dart', !!Modernizr.prefixed('StartDart', navigator));

0 comments on commit d78b9be

Please sign in to comment.