This commit is contained in:
Sebastian McKenzie
2015-01-14 07:56:45 +11:00
parent fe6f53d471
commit 6b836de306
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1 @@
var foo = bar`wow\na${ 42 }b ${_.foobar()}`;

View File

@@ -0,0 +1,8 @@
"use strict";
var _taggedTemplateLiteralLoose = function (strings, raw) {
strings.raw = raw;
return strings;
};
var foo = bar(_taggedTemplateLiteralLoose(["wow\na", "b ", ""], ["wow\\na", "b ", ""]), 42, _.foobar());

View File

@@ -0,0 +1,3 @@
{
"loose": ["templateLiterals"]
}