WordPress.org

Make WordPress Core

Ticket #33503: 33503.diff

File 33503.diff, 1.0 KB (added by ericlewis, 5 years ago)
  • src/wp-includes/js/customize-loader.js

    diff --git a/src/wp-includes/js/customize-loader.js b/src/wp-includes/js/customize-loader.js
    index ce69a35..5bc34c4 100644
    a b  
    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
    48(function( exports, $ ){
  • src/wp-includes/js/customize-preview.js

    diff --git a/src/wp-includes/js/customize-preview.js b/src/wp-includes/js/customize-preview.js
    index e58c8d6..7cea7d3 100644
    a b  
     1/*
     2 * Script run inside a Customizer preview frame.
     3 */
    14(function( exports, $ ){
    25        var api = wp.customize,
    36                debounce;
     
    3033         */
    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 ) {
    3739                        var self = this;