mirror of
https://github.com/systemjs/systemjs.git
synced 2026-01-25 14:57:38 +00:00
update eval for debugging
This commit is contained in:
parent
cdee4f7045
commit
803dd46734
@ -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 : ''));
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user