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
65eaf79e
Commit
65eaf79e
authored
Jan 18, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rewrite require-renderjs.js so that it respects dependencies and also loads required jquery-json.
parent
ca24c0ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
require-renderjs.js
require-renderjs.js
+14
-9
No files found.
require-renderjs.js
View file @
65eaf79e
// JavaScript file that is used to load RenderJs depenencies
require
.
config
({
paths
:
{
jquery
:
"
lib/jquery/jquery
"
,
"
jquery.json
"
:
"
lib/json/jquery.json.min
"
,
renderjs
:
"
renderjs
"
},
shim
:
{
"
jquery.json
"
:
[
"
jquery
"
],
renderjs
:
[
"
jquery
"
,
"
jquery.json
"
]
}
});
require
([
"
../../lib/jquery/jquery.js
"
,
"
../../renderjs.js
"
],
function
(
domReady
)
{
// Place code to be executed when libraries are loaded
// impliticly call RenderJs bootstrap
require
([
"
jquery
"
,
"
jquery.json
"
,
"
renderjs
"
],
function
(
domReady
)
{
RenderJs
.
init
();
});
});
\ No newline at end of file
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