Skip to content

Instantly share code, notes, and snippets.

@jgable
Created February 12, 2014 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgable/8961998 to your computer and use it in GitHub Desktop.
Save jgable/8961998 to your computer and use it in GitHub Desktop.
Traceur Compiler Source Maps Examples
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
};
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};
{
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