angular-docs-cn/tools/transpiler
Vojta Jina 1dc5a22f07 chore: source maps for Karma/Gulp
For Karma, the source mapa are inlined inside each source file.
For `build/*` output, separate `*.map` file is created.

This changes the API of `tools/transpiler/index.js`. I believe this API
is only used in `gulp-traceur.js` and `karma-traceur-preprocessor.js`.
Instead of returning the transpiled string, `compile()` returns a result
object such as:
```js
{
  js: ‘transpiled code’,
  sourceMap: null || {}
}
```

Closes #20
2014-11-05 11:19:02 -08:00
..
spec feat(transpiler): add support for getters 2014-10-16 16:11:18 -04:00
src fix(super): `super()` now means call the proto of the current function. 2014-10-27 22:26:38 +01:00
gulp-traceur.js chore: source maps for Karma/Gulp 2014-11-05 11:19:02 -08:00
index.js chore: source maps for Karma/Gulp 2014-11-05 11:19:02 -08:00
karma-traceur-preprocessor.js chore: source maps for Karma/Gulp 2014-11-05 11:19:02 -08:00