Separating JS from the html for GST.
This commit is contained in:
committed by
Alexander Kryklia
parent
da4a676513
commit
643ac69a57
1
common/static/js/graphical_slider_tool/main.js
Normal file
1
common/static/js/graphical_slider_tool/main.js
Normal file
@@ -0,0 +1 @@
|
||||
alert('Hello, world!');
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user