Twenty Fifteen: improve naming and documentation of customizer js files to match core filenaming conventions.

Props celloexpressions, fixes #30160.



git-svn-id: https://develop.svn.wordpress.org/trunk@30271 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2014-11-07 17:19:55 +00:00
parent 900307e343
commit 79ba410eae
3 changed files with 3 additions and 7 deletions

View File

@ -655,6 +655,6 @@ add_action( 'customize_controls_enqueue_scripts', 'twentyfifteen_customize_contr
* @since Twenty Fifteen 1.0
*/
function twentyfifteen_customize_preview_js() {
wp_enqueue_script( 'twentyfifteen-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20141005', true );
wp_enqueue_script( 'twentyfifteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20141029', true );
}
add_action( 'customize_preview_init', 'twentyfifteen_customize_preview_js' );

View File

@ -1,8 +1,6 @@
/* global colorScheme */
/**
* Customizer enhancements for a better user experience.
*
* Adds listener to Color Scheme control to update other color controls with new values/defaults
* Add a listener to the Color Scheme control to update other color controls to new values/defaults.
*/
( function( api ) {

View File

@ -1,7 +1,5 @@
/**
* Customizer enhancements for a better user experience.
*
* Contains handlers to make Customizer preview reload changes asynchronously.
* Live-update changed settings in real time in the Customizer preview.
*/
( function( $ ) {