Skip to content

Commit

Permalink
Minify the JS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Tadlock committed Sep 26, 2013
1 parent 51e9b6f commit 3ed096f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin/class-custom-backgrounds-admin.php
Expand Up @@ -90,7 +90,7 @@ public function enqueue_scripts( $hook_suffix ) {
if ( !in_array( $hook_suffix, array( 'post-new.php', 'post.php' ) ) )
return;

wp_register_script( 'cbe-custom-background-extended', CUSTOM_BACKGROUND_EXT_URI . 'js/custom-backgrounds.js', array( 'wp-color-picker', 'media-views' ), false, true );
wp_register_script( 'cbe-custom-background-extended', CUSTOM_BACKGROUND_EXT_URI . 'js/custom-backgrounds.min.js', array( 'wp-color-picker', 'media-views' ), '20130926', true );

wp_localize_script(
'cbe-custom-background-extended',
Expand Down
1 change: 1 addition & 0 deletions js/custom-backgrounds.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3ed096f

Please sign in to comment.