WordPress.org

Make WordPress Core

Changeset 33709


Ignore:
Timestamp:
08/22/2015 05:23:37 PM (5 years ago)
Author:
wonderboymusic
Message:

Add some JS Docs for Customizer.

Props ericlewis.
See #33503.

Location:
trunk/src/wp-includes/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/customize-loader.js

    r31885 r33709  
    11/* global _wpCustomizeLoaderSettings, confirm */
     2/*
     3 * Expose a public API that allows the customizer to be
     4 * loaded on any page.
     5 */
    26window.wp = window.wp || {};
    37
  • trunk/src/wp-includes/js/customize-preview.js

    r31697 r33709  
     1/*
     2 * Script run inside a Customizer preview frame.
     3 */
    14(function( exports, $ ){
    25    var api = wp.customize,
     
    3134    api.Preview = api.Messenger.extend({
    3235        /**
    33          * Requires params:
    34          *  - url    - the URL of preview frame
     36         * @param {string} url The URL of preview frame
    3537         */
    3638        initialize: function( params, options ) {
Note: See TracChangeset for help on using the changeset viewer.