Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
renderjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
renderjs
Commits
b23525a0
Commit
b23525a0
authored
Dec 19, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RenderJs is loaded through requirejs so the place to initilize it must
be adjusted in respective requirejs hook.
parent
1e79bc5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
examples/json/require-renderjs.js
examples/json/require-renderjs.js
+2
-0
renderjs.js
renderjs.js
+3
-3
require-renderjs.js
require-renderjs.js
+2
-0
No files found.
examples/json/require-renderjs.js
View file @
b23525a0
...
...
@@ -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
();
});
renderjs.js
View file @
b23525a0
...
...
@@ -644,6 +644,6 @@ var RenderJs = (function () {
}());
// impliticly call RenderJs bootstrap
$
(
document
).
ready
(
function
()
{
RenderJs
.
init
();
});
//
$(document).ready(function () {
//
RenderJs.init();
//
});
require-renderjs.js
View file @
b23525a0
...
...
@@ -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
();
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment