-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spec/loose/default switch for template literal transform, update/re-o…
…rg tests
- Loading branch information
Showing
58 changed files
with
10 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
packages/babel-plugin-transform-es2015-template-literals/test/fixtures/loose/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"plugins": [["transform-es2015-template-literals", {"loose": true}]] | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
packages/babel-plugin-transform-es2015-template-literals/test/fixtures/loose/tag/expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
var _templateObject = _taggedTemplateLiteralLoose(["wow\na", "b ", ""], ["wow\\na", "b ", ""]); | ||
|
||
function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; } | ||
|
||
var foo = bar(_templateObject, 42, _.foobar()); |
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions
3
.../babel-plugin-transform-es2015-template-literals/test/fixtures/normal/tag-loose/actual.js
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
...abel-plugin-transform-es2015-template-literals/test/fixtures/normal/tag-loose/expected.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...bel-plugin-transform-es2015-template-literals/test/fixtures/normal/tag-loose/options.json
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...ages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/tag/expected.js
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...nsform-es2015-template-literals/test/fixtures/normal/template-revision-loose/options.json
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/options.json
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...-plugin-transform-es2015-template-literals/test/fixtures/spec/template-revision/actual.js
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...lugin-transform-es2015-template-literals/test/fixtures/spec/template-revision/expected.js
This file was deleted.
Oops, something went wrong.