push for js files
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 22 Oct 2014 14:08:51 +0000 (10:08 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 22 Oct 2014 14:08:51 +0000 (10:08 -0400)
library/enqueue-scripts.php

index 75ba8de..bba954e 100644 (file)
@@ -10,16 +10,16 @@ if (!function_exists('FoundationPress_scripts')) :
     wp_register_script( 'modernizr', get_template_directory_uri() . '/js/modernizr/modernizr.min.js', array(), '1.0.0', false );
     wp_register_script( 'jquery', get_template_directory_uri() . '/js/jquery/dist/jquery.min.js', array(), '1.0.0', false );
     wp_register_script( 'foundation', get_template_directory_uri() . '/js/app.js', array('jquery'), '1.0.0', true );
-    wp_register_script( 'custom', get_template_directory_uri() . '/js/custom/sticky-footer.js', array(), '1.0.0', true );
-//    wp_register_script( 'custom-weather', get_template_directory_uri() . '/js/custom/weather-widget.js', array(), '1.0.0', true );
+    //wp_register_script( 'custom', get_template_directory_uri() . '/js/custom/sticky-footer.js', array(), '1.0.0', true );
+    //wp_register_script( 'custom-weather', get_template_directory_uri() . '/js/custom/weather-widget.js', array(), '1.0.0', true );
 
     // enqueue scripts
     wp_enqueue_script('modernizr');
     wp_enqueue_script('jquery');
-    wp_enqueue_script('custom');
+//    wp_enqueue_script('custom');
 
     wp_enqueue_script('foundation');
-    wp_enqueue_script('custom-weather');
+//    wp_enqueue_script('custom-weather');
 
 
   }