Created
February 12, 2014 18:50
-
-
Save jgable/8961998 to your computer and use it in GitHub Desktop.
Traceur Compiler Source Maps Examples
This file contains hidden or 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
import { hello } from 'test1'; | |
export var things = { | |
'1': 0, | |
'2': 0, | |
'3': 0, | |
updateThing: function (name, val) { | |
this[name] = val; | |
if (name === 'bingo') { | |
console.log('bingo was his name o'); | |
this[name] += ' was his name o'; | |
} | |
} | |
}; | |
export default { | |
things: things | |
}; |
This file contains hidden or 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
var hello = __moduleDependency0["hello"]; | |
var things = __exports["things"] = { | |
'1': 0, | |
'2': 0, | |
'3': 0, | |
updateThing: function(name, val) { | |
this[name] = val; | |
if (name === 'bingo') { | |
console.log('bingo was his name o'); | |
this[name] += ' was his name o'; | |
} | |
} | |
}; | |
__exports["default"] = {things: things}; |
This file contains hidden or 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
{ | |
version: 3, | |
file: "http://localhost:8080/demo/source1.js", | |
sources: [ | |
"http://localhost:8080/demo/source1.js" | |
], | |
names: [ ], | |
mappings: "AACA;AAEW,GAAA,OAAA,wBAAS;AAChB,KAAA,CAAK,EAAA;AACL,KAAA,CAAK,EAAA;AACL,KAAA,CAAK,EAAA;AAEL,aAAA,CAAa,SAAA,CAAU,IAAA,CAAM,IAAA,CAAK;AAC9B,QAAA,CAAK,IAAA,CAAA,EAAQ,IAAA;AAEb,MAAA,EAAI,IAAA,IAAS,QAAA,CAAS;AAClB,aAAA,CAAA,GAAW,CAAC,sBAAA,CAAA;AAEZ,UAAA,CAAK,IAAA,CAAA,GAAS,kBAAA;AAAA;AAAA;AAAA,CAAA;sBAMX,EACX,MAAA,CAAQ,OAAA,CAAA", | |
sourcesContent: [ | |
" import { hello } from 'test1'; export var things = { '1': 0, '2': 0, '3': 0, updateThing: function (name, val) { this[name] = val; if (name === 'bingo') { console.log('bingo was his name o'); this[name] += ' was his name o'; } } }; export default { things: things };" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment