windhamdavid 10 years ago
parent
commit
b403956da3
3 changed files with 4 additions and 2 deletions
  1. 2 1
      functions.php
  2. 2 1
      gruntfile.js
  3. 0 0
      js/init.min.js

+ 2 - 1
functions.php

@@ -50,7 +50,8 @@ function dw_scripts() {
 		wp_enqueue_script( 'comment-reply' );
 	} 
 	
-	wp_enqueue_script( 'init', get_template_directory_uri() . '/js/init.js', 'jquery', '', true );
+	//wp_enqueue_script( 'init', get_template_directory_uri() . '/js/init.js', 'jquery', '', true );
+	wp_enqueue_script( 'init', get_template_directory_uri() . '/js/init.min.js', 'jquery', '', true );
 	
 	
 	if ( is_page('notebook') || is_archive() || is_search() ) {

+ 2 - 1
gruntfile.js

@@ -38,7 +38,8 @@ module.exports = function(grunt) {
 		uglify: {
 		    my_target: {
 		      files: {
-		        'js/script.min.js': ['js/script.js']
+		        'js/script.min.js': ['js/script.js'],
+				'js/init.min.js': ['js/init.js']
 		      }
 		    }
 		  }

File diff suppressed because it is too large
+ 0 - 0
js/init.min.js


Some files were not shown because too many files changed in this diff