update eval for debugging

This commit is contained in:
guybedford 2013-11-25 14:50:53 +02:00
parent cdee4f7045
commit 803dd46734

View File

@ -845,9 +845,9 @@
// carefully scoped eval with given global
var __scopedEval = function(__source, global, __sourceURL, __sourceMappingURL) {
eval('with(global) { (function() { ' + __source + ' \n }).call(global); }' + (__sourceMappingURL
? '\n//# sourceMappingURL=' + __sourceMappingURL
: (__sourceURL ? '\n//# sourceURL=' + __sourceURL : '')));
eval('with(global) { (function() { ' + __source + ' \n }).call(global); }'
+ (__sourceURL && !__source.match(/\/\/[@#] ?(sourceURL|sourceMappingURL)=(.+)/)
? '\n//# sourceURL=' + __sourceURL : ''));
}
})();