Add some JS Docs for Customizer.
Props ericlewis. See #33503. Built from https://develop.svn.wordpress.org/trunk@33709 git-svn-id: http://core.svn.wordpress.org/trunk@33676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c192d90fa1
commit
20cc53b929
|
@ -1,4 +1,8 @@
|
||||||
/* global _wpCustomizeLoaderSettings, confirm */
|
/* global _wpCustomizeLoaderSettings, confirm */
|
||||||
|
/*
|
||||||
|
* Expose a public API that allows the customizer to be
|
||||||
|
* loaded on any page.
|
||||||
|
*/
|
||||||
window.wp = window.wp || {};
|
window.wp = window.wp || {};
|
||||||
|
|
||||||
(function( exports, $ ){
|
(function( exports, $ ){
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
/*
|
||||||
|
* Script run inside a Customizer preview frame.
|
||||||
|
*/
|
||||||
(function( exports, $ ){
|
(function( exports, $ ){
|
||||||
var api = wp.customize,
|
var api = wp.customize,
|
||||||
debounce;
|
debounce;
|
||||||
|
@ -30,8 +33,7 @@
|
||||||
*/
|
*/
|
||||||
api.Preview = api.Messenger.extend({
|
api.Preview = api.Messenger.extend({
|
||||||
/**
|
/**
|
||||||
* Requires params:
|
* @param {string} url The URL of preview frame
|
||||||
* - url - the URL of preview frame
|
|
||||||
*/
|
*/
|
||||||
initialize: function( params, options ) {
|
initialize: function( params, options ) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-33708';
|
$wp_version = '4.4-alpha-33709';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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