Project

General

Profile

« Previous | Next » 

Revision 0bbda8fc

Added by koszko about 2 years ago

enhance our bundler to protect top-level `this' from accidental clobbering

View differences:

build.sh
246 246
	    (echo "\
247 247
\"use strict\";
248 248

  
249
(() => {
249
({fun: (function() {
250 250
$(map_get IMPORTCODES $FILEKEY)
251 251

  
252 252
";
......
262 262
echo "
263 263

  
264 264
$(map_get EXPORTCODES $FILEKEY)
265
})();") > $BUILDDIR/$FILE
265
})}).fun();") > $BUILDDIR/$FILE
266 266
	fi
267 267
    done
268 268

  

Also available in: Unified diff