angular-locker icon indicating copy to clipboard operation
angular-locker copied to clipboard

chrome map.js parsing error

Open majkelch opened this issue 9 years ago • 4 comments

Chrome Version 49.0.2623.87 (64-bit) shows following error: Failed to parse SourceMap: http://.../bower_components/angular-locker/dist/angular-locker.min.js.map I think it's due to this line: /*! angular-locker v2.0.4 | (c) 2016 @tymondesigns | https://github.com/tymondesigns/angular-locker */

majkelch avatar Apr 01 '16 13:04 majkelch

:+1:

wembernard avatar Apr 04 '16 12:04 wembernard

Anyone having a workaround for this issue ?

wembernard avatar May 11 '16 11:05 wembernard

I'm having the same problem. How can we investigate more to identify the problem?

gabrieleciech avatar Aug 19 '16 06:08 gabrieleciech

Source maps are JSON, so having the first line as a comment is invalid. Also throws issues when using this library and enabling source maps in https://github.com/gruntjs/grunt-contrib-concat or https://github.com/gruntjs/grunt-contrib-uglify

cdriscol avatar Nov 26 '16 01:11 cdriscol