Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1011 from afc163/master
Browse files Browse the repository at this point in the history
fix seajs paths in demo layout, fix #1008
  • Loading branch information
afc163 committed Sep 12, 2014
2 parents d5115c8 + 6e4a6b6 commit 5a03a17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions lib/theme/templates/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ <h1 class="entry-title">{{post.title}}</h1>
</div>
</article>
<script>
seajs.config({
paths: {
'jquery': 'http://static.alipayobjects.com/jquery'
}
});
seajs.use('jquery/jquery/1.7.2/jquery', function($) {
$('.content-wrapper code').each(function(index, item) {
item = $(item);
Expand Down
3 changes: 0 additions & 3 deletions lib/theme/templates/snippet/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
<script>
seajs.config({
base: "{{content_url('')}}",
paths: {
'jquery': 'http://static.alipayobjects.com/jquery'
},
alias: {{deps|clean_alias|json_encode}}
});
</script>

0 comments on commit 5a03a17

Please sign in to comment.