Add some JS Docs for Customizer.
Props ericlewis. See #33503. git-svn-id: https://develop.svn.wordpress.org/trunk@33709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7e894153a4
commit
a679368d8b
@ -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, $ ){
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user