CoreFiles by mySites.guru
customizer.js19 lines, 489 bytes, from wordpress-3.7-beta1.zip
Raw History Compare with 3.6-beta4
md5
16a70af2724c9609c7ec118bca505bbf
sha1
9bfac7db40533588e5e166fc6b97a9a3ead0147f
sha256
4df3a293cfdc6f9f29e98eb76011c7c6abb62727837b0054d39d86ab33a945c0
/**
 * Theme Customizer enhancements for a better user experience.
 *
 * Contains handlers to make Theme Customizer preview reload changes asynchronously.
 */

( function( $ ) {
	// Site title and description.
	wp.customize( 'blogname', function( value ) {
		value.bind( function( to ) {
			$( '.site-title a' ).text( to );
		} );
	} );
	wp.customize( 'blogdescription', function( value ) {
		value.bind( function( to ) {
			$( '.site-description' ).text( to );
		} );
	} );
} )( jQuery );

The same content is in 4 releases, WordPress 3.7-beta1 to 3.8-beta-1. See them all, or every version of this file.