Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
643ac69a
Commit
643ac69a
authored
Dec 05, 2012
by
valera-rozuvan
Committed by
Alexander Kryklia
Jan 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separating JS from the html for GST.
parent
da4a6765
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
common/static/js/graphical_slider_tool/main.js
+1
-0
lms/templates/graphical_slider_tool.html
+5
-5
No files found.
common/static/js/graphical_slider_tool/main.js
0 → 100644
View file @
643ac69a
alert
(
'Hello, world!'
);
lms/templates/graphical_slider_tool.html
View file @
643ac69a
...
...
@@ -14,9 +14,9 @@ ${gst_html}
</div>
<script
type=
"text/javascript"
>
//
wil be invoked for every GST section
$
(
document
).
ready
(
function
()
{
console
.
log
(
'Another GST applet is loaded'
)
});
<script
type=
"text/javascript"
src=
"/static/js/graphical_slider_tool/main.js"
>
//
wil be invoked for every GST section
//
$(document).ready(function() {
//
console.log('Another GST applet is loaded')
//
});
</script>
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