first commit

This commit is contained in:
armansansd
2023-07-12 16:31:19 +01:00
commit 3424b1927b
23306 changed files with 2217776 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
/*!
{
"name": "Template strings",
"property": "templatestrings",
"notes": [{
"name": "MDN Docs",
"href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Browser_compatibility"
}]
}
!*/
/* DOC
Template strings are string literals allowing embedded expressions.
*/
define(['Modernizr'], function(Modernizr) {
Modernizr.addTest('templatestrings', function() {
var supports;
try {
// A number of tools, including uglifyjs and require, break on a raw "`", so
// use an eval to get around that.
// eslint-disable-next-line
eval('``');
supports = true;
} catch (e) {}
return !!supports;
});
});