Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 18ffbf6

Browse files
committed
add parser name to prototype
1 parent da7fe40 commit 18ffbf6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/6to5-loader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// Returns an array of ModuleSpecifiers
77
var to5;
88

9+
Loader.prototype.parser = '6to5';
10+
911
Loader.prototype.parse = function(load) {
1012
if (!to5) {
1113
if (typeof window == 'undefined' &&

src/traceur-loader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
throw e[0];
1616
}
1717
}
18+
19+
Loader.prototype.parser = 'traceur';
1820
Loader.prototype.parse = function(load) {
1921
if (!traceur) {
2022
if (typeof window == 'undefined' &&

0 commit comments

Comments
 (0)