Twenty Fifteen: improve naming and documentation of customizer js files to match core filenaming conventions.
Props celloexpressions, fixes #30160. Built from https://develop.svn.wordpress.org/trunk@30271 git-svn-id: http://core.svn.wordpress.org/trunk@30271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1b0b11b593
commit
78c26017c6
@ -655,6 +655,6 @@ add_action( 'customize_controls_enqueue_scripts', 'twentyfifteen_customize_contr
|
|||||||
* @since Twenty Fifteen 1.0
|
* @since Twenty Fifteen 1.0
|
||||||
*/
|
*/
|
||||||
function twentyfifteen_customize_preview_js() {
|
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' );
|
add_action( 'customize_preview_init', 'twentyfifteen_customize_preview_js' );
|
@ -1,8 +1,6 @@
|
|||||||
/* global colorScheme */
|
/* global colorScheme */
|
||||||
/**
|
/**
|
||||||
* Customizer enhancements for a better user experience.
|
* Add a listener to the Color Scheme control to update other color controls to new values/defaults.
|
||||||
*
|
|
||||||
* Adds listener to Color Scheme control to update other color controls with new values/defaults
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
( function( api ) {
|
( function( api ) {
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Customizer enhancements for a better user experience.
|
* Live-update changed settings in real time in the Customizer preview.
|
||||||
*
|
|
||||||
* Contains handlers to make Customizer preview reload changes asynchronously.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
( function( $ ) {
|
( function( $ ) {
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.1-alpha-30270';
|
$wp_version = '4.1-alpha-30271';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user