Skip to content

Commit

Permalink
JS link updates
Browse files Browse the repository at this point in the history
  • Loading branch information
walker committed Oct 26, 2012
1 parent 4545b5b commit d8adc13
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ AddType text/vtt vtt
# ----------------------------------------------------------------------

# e.g. Inside of script.combined.js you could have
# <!--#include file="libs/jquery-1.5.0.min.js" -->
# <!--#include file="libs/jquery-1.8.2.min.js" -->
# <!--#include file="plugins/jquery.idletimer.js" -->
# and they would be included into this single file.

Expand Down
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ function h5bp_init(){

if(!is_admin()) {
wp_deregister_script('jquery');
wp_enqueue_script('modernizr', versioned_resource('js/vendor/modernizr-2.6.1.min.js'));
wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js');
wp_enqueue_script('modernizr', versioned_resource('js/vendor/modernizr-2.6.2.min.js'));
wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js');
wp_enqueue_script('jquery');
wp_enqueue_style('style', versioned_resource('style.css'));
}
Expand Down
4 changes: 2 additions & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<!-- reference your own javascript files here -->

<script src="../js/libs/modernizr-2.6.1.min.js"></script>
<script src="../js/libs/modernizr-2.6.2.min.js"></script>

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="../js/plugins.js"></script>
<script src="../js/script.js"></script>

Expand Down

0 comments on commit d8adc13

Please sign in to comment.