Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 window.foo = doFoo; | |
| 2 | |
| 3 function doFoo() { | |
| 4 console.log('foo'); | |
| 5 } | |
| 1 window.foo = console.log.bind(console, 'foo'); | 6 window.foo = console.log.bind(console, 'foo'); |
| 2 //# sourceMappingURL=sourcemap-script.js.map | 7 //# sourceMappingURL=sourcemap-script.js.map |
|
dgozman
2017/05/05 06:10:54
Don't you have to change the map as well?
lushnikov
2017/05/05 20:58:26
The sourcemap has a single entry which maps the be
| |
| OLD | NEW |