Compare commits

..

3 Commits
1.2.5 ... 1.2.6

Author SHA1 Message Date
1c092c7be0 Upgrading Casper to 1.2.6 2015-11-26 09:31:48 +08:00
834f0bc4ff Merge pull request #222 from ErisDS/jquery-move
Move jQuery before `{{ghost_foot}}`
2015-11-25 22:17:17 +08:00
6f46594d36 Move jQuery before {{ghost_foot}}
- Including jQuery before `{{ghost_foot}}` means jQuery can be used inside ghost_foot code injection
- It should also improve backwards compat, as without this jQuery code included via ghost_foot may break
2015-10-19 09:28:22 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -37,10 +37,11 @@
</div>
{{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}}
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
{{! The main JavaScript file for Casper }}
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>

View File

@ -1,4 +1,4 @@
{
"name": "Casper",
"version": "1.2.5"
"version": "1.2.6"
}