tymondesigns/angular-locker

chrome map.js parsing error

majkelch opened this issue · 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 */

👍

Anyone having a workaround for this issue ?

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

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