"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/asset/worker.js" between
lodash-4.0.0.tar.gz and lodash-4.17.21.tar.gz

About: lodash is a modern JavaScript utility library delivering modularity, performance, & extras. Tagged version.

worker.js  (lodash-4.0.0):worker.js  (lodash-4.17.21)
'use strict';
self.console || (self.console = { 'log': function() {} }); self.console || (self.console = { 'log': function() {} });
addEventListener('message', function(e) { addEventListener('message', function(e) {
if (e.data) { if (e.data) {
try { try {
importScripts('../' + e.data); importScripts('../' + e.data);
} catch(e) { } catch (e) {
self._ = { 'VERSION': e.message }; var lineNumber = e.lineNumber,
message = (lineNumber == null ? '' : (lineNumber + ': ')) + e.message;
self._ = { 'VERSION': message };
} }
postMessage(_.VERSION); postMessage(_.VERSION);
} }
}, false); });
 End of changes. 3 change blocks. 
2 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)