Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
renderjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
renderjs
Commits
df79a4fd
Commit
df79a4fd
authored
Jan 18, 2013
by
Kazuhiko Shiozaki
Committed by
Ivan Tyagov
Jan 24, 2013
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
345a8461
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 @
df79a4fd
// JavaScript file that is used to load RenderJs depenencies
// 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
"
,
require
([
"
jquery
"
,
"
jquery.json
"
,
"
renderjs
"
],
function
(
domReady
)
{
"
../../renderjs.js
"
],
function
(
domReady
)
{
// Place code to be executed when libraries are loaded
// impliticly call RenderJs bootstrap
RenderJs
.
init
();
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