Commit b23525a0 authored by Ivan Tyagov's avatar Ivan Tyagov

RenderJs is loaded through requirejs so the place to initilize it must

be adjusted in respective requirejs hook.
parent 1e79bc5e
...@@ -6,6 +6,8 @@ require(["../../lib/jquery/jquery.js", ...@@ -6,6 +6,8 @@ require(["../../lib/jquery/jquery.js",
], ],
function (domReady) { function (domReady) {
// Place code to be executed when libraries are loaded // Place code to be executed when libraries are loaded
// impliticly call RenderJs bootstrap
RenderJs.init();
}); });
...@@ -644,6 +644,6 @@ var RenderJs = (function () { ...@@ -644,6 +644,6 @@ var RenderJs = (function () {
}()); }());
// impliticly call RenderJs bootstrap // impliticly call RenderJs bootstrap
$(document).ready(function () { // $(document).ready(function () {
RenderJs.init(); // RenderJs.init();
}); // });
...@@ -4,6 +4,8 @@ require(["../../lib/jquery/jquery.js", ...@@ -4,6 +4,8 @@ require(["../../lib/jquery/jquery.js",
"../../renderjs.js"], "../../renderjs.js"],
function (domReady) { function (domReady) {
// Place code to be executed when libraries are loaded // Place code to be executed when libraries are loaded
// impliticly call RenderJs bootstrap
RenderJs.init();
}); });
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