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