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:
Scott Taylor 2015-08-22 17:24:25 +00:00
parent c192d90fa1
commit 20cc53b929
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,8 @@
/* global _wpCustomizeLoaderSettings, confirm */
/*
* Expose a public API that allows the customizer to be
* loaded on any page.
*/
window.wp = window.wp || {};
(function( exports, $ ){

View File

@ -1,3 +1,6 @@
/*
* Script run inside a Customizer preview frame.
*/
(function( exports, $ ){
var api = wp.customize,
debounce;
@ -30,8 +33,7 @@
*/
api.Preview = api.Messenger.extend({
/**
* Requires params:
* - url - the URL of preview frame
* @param {string} url The URL of preview frame
*/
initialize: function( params, options ) {
var self = this;

View File

@ -4,7 +4,7 @@
*
* @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.