Skip to content

Commit

Permalink
Update resource inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrick Galoso committed May 30, 2012
1 parent 0bd0214 commit e5998d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions route.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ class RootsPJAX {
* Initialize Roots PJAX
*/
public static function load() {
wp_enqueue_script('pjax', ROOTSPJAX_URL . '/pjax/jquery.pjax.js', array('jquery'), false, true);
wp_enqueue_script('roots-pjax', ROOTSPJAX_URL . '/rp.min.js', array('jquery', 'pjax'), false, true);
wp_enqueue_script('pjax', ROOTSPJAX_URL . '/js/vendor/pjax/jquery.pjax.js', array('jquery'), false, true);
wp_enqueue_script('crackle', ROOTSPJAX_URL . '/js/vendor/crackle/crackle.min.js', array('jquery'), false, true);
wp_enqueue_script('roots-pjax', ROOTSPJAX_URL . '/rp.min.js', array('jquery', 'pjax', 'crackle'), false, true);
wp_enqueue_script('roots-pjax-main', ROOTSPJAX_URL . '/js/main.js', array('roots-pjax'), false, true);
}

/**
Expand Down

0 comments on commit e5998d9

Please sign in to comment.