Merge the two compilerLoaded listeners - e.g. don't compile twice after reload

pull/1/head
Alex Beregszaszi 8 years ago
parent 608c9c2a2a
commit ee483e655c
  1. 6
      src/app.js

@ -444,14 +444,10 @@ var run = function () {
compiler.compile();
});
compiler.event.register('compilerLoaded', this, function (context) {
compiler.compile();
initWithQueryParams();
});
compiler.event.register('compilerLoaded', this, function (version) {
setVersionText(version);
compiler.compile();
initWithQueryParams();
});
function initWithQueryParams () {

Loading…
Cancel
Save