summaryrefslogtreecommitdiff
path: root/source/bower_components/modernizr/feature-detects/es5-strictmode.js
diff options
context:
space:
mode:
Diffstat (limited to 'source/bower_components/modernizr/feature-detects/es5-strictmode.js')
-rw-r--r--source/bower_components/modernizr/feature-detects/es5-strictmode.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/bower_components/modernizr/feature-detects/es5-strictmode.js b/source/bower_components/modernizr/feature-detects/es5-strictmode.js
new file mode 100644
index 0000000..bffbe95
--- /dev/null
+++ b/source/bower_components/modernizr/feature-detects/es5-strictmode.js
@@ -0,0 +1,7 @@
+// strict mode
+
+// test by @kangax
+
+Modernizr.addTest('strictmode', function(){
+ return (function(){ "use strict"; return !this; })();
+}); \ No newline at end of file