Skip to content

Commit

Permalink
#94 changing default site scripts to use require/data-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tracend committed Jun 26, 2013
1 parent 0e37349 commit f24de7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions app/views/admin/edit_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
<script type="text/javascript" src="<?=url('/js/libs/jquery-ui-1.8.core-and-interactions.min.js')?>" data-type="minify/require" data-group="admin" data-deps="jquery"></script>
<script type="text/javascript" src="<?=url('/js/libs/jquery-ui-1.8.autocomplete.min.js')?>" data-type="minify/require" data-group="admin" data-deps="jquery"></script>
<script type="text/javascript" src="<?=url('/js/plugins/tag-it.js')?>" data-type="minify/require" data-group="admin" data-deps="jquery"></script>
<script type="text/javascript" data-type="require">
<script type="text/javascript" data-type="require" data-deps="admin">

$(function(){
$(".cms-form #tags").tagit({
availableTags: []
$(function(){
$(".cms-form #tags").tagit({
availableTags: []
});
});
});

</script>
6 changes: 3 additions & 3 deletions app/views/sections/tagcloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
} ?>
</div>
</canvas>
<script type="text/javascript" src="<?=url('/js/plugins/jquery.tagcanvas.min.js')?>" data-type="require" data-deps="jquery"></script>
<script type="text/javascript" data-type="require">
<script type="text/javascript" src="<?=url('/js/plugins/jquery.tagcanvas.min.js')?>" data-type="require" data-path="tagcanvas" data-deps="jquery"></script>
<script type="text/javascript" data-type="require" data-deps="tagcanvas">
$(function(){
$("#<?=$vars['id']?>").tagcanvas({
depth : 0.75
}, "tag-holder");
});
</script>
</script>

0 comments on commit f24de7c

Please sign in to comment.