pingjiang / dygraphs

Automatically exported from code.google.com/p/dygraphs
0 stars 0 forks source link

Support for Sourcemaps #348

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be pretty handy if dygraphs would support SourceMaps 
(http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) for 
debugging purposes. 

However currently Yuicompressor doesn't support SourceMaps 
(http://yuilibrary.com/forum/viewtopic.php?p=31483).

So either wait for Yuicompressor to support SourceMaps or switch to Closure 
Compiler. 
Closure Compiler might even produce more efficient js code compared to 
Yuicompressor:

http://blog.feedly.com/2009/11/06/google-closure-vs-yui-min/
http://blog.foxxtrot.net/2010/12/a-comparison-of-javascript-compressors.html
http://www.bloggingdeveloper.com/post/Closure-Compiler-vs-YUI-Compressor-Compari
ng-the-Javascript-Compression-Tools.aspx

Original issue reported on code.google.com by uemit.se...@gmail.com on 12 Jul 2012 at 3:19

GoogleCodeExporter commented 9 years ago
Why not just source dygraph-dev.js instead of dygraph-combined.js if you need 
to work with the dygraphs JS?

Original comment by danvdk on 12 Aug 2012 at 4:14

GoogleCodeExporter commented 9 years ago

Original comment by da...@google.com on 13 Aug 2012 at 9:54