Commit ee483e65 authored by Alex Beregszaszi's avatar Alex Beregszaszi

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

parent 608c9c2a
...@@ -444,14 +444,10 @@ var run = function () { ...@@ -444,14 +444,10 @@ var run = function () {
compiler.compile(); compiler.compile();
}); });
compiler.event.register('compilerLoaded', this, function (context) {
compiler.compile();
initWithQueryParams();
});
compiler.event.register('compilerLoaded', this, function (version) { compiler.event.register('compilerLoaded', this, function (version) {
setVersionText(version); setVersionText(version);
compiler.compile(); compiler.compile();
initWithQueryParams();
}); });
function initWithQueryParams () { function initWithQueryParams () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment