File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,10 @@ var urlRegex = /^(https?|webpack(-[^:]+)?):\/\//;
1313var debug = require ( 'debug-fabulous' ) ( ) ( PLUGIN_NAME + ':utils' ) ;
1414
1515/*
16- TODO: DROP SUPPORT FOR node <= 0.12.X
17- So reusing the same ref for a regex (with global (g))
18- is a major bug in node 0.10.X apparently.
16+ So reusing the same ref for a regex (with global (g)) is from a poor decision in js.
1917See http://stackoverflow.com/questions/10229144/bug-with-regexp-in-javascript-when-do-global-search
2018
21- So we either need to use a new instance of a regex everywhere
22- to make it compatible for all nodes 0.10.X + or drop support for 0.10.X.
23- For now we will continue to support it I guess. But this sucks.
19+ So we either need to use a new instance of a regex everywhere.
2420*/
2521var sourceMapUrlRegEx = function ( ) { return / \/ \/ \# s o u r c e M a p p i n g U R L \= .* / g; }
2622
You can’t perform that action at this time.
0 commit comments