Make WordPress Core

Changeset 27693


Ignore:
Timestamp:
03/24/2014 11:01:15 PM (11 years ago)
Author:
wonderboymusic
Message:

Let us pass jshint:core.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-widgets.js

    r27654 r27693  
    1818            remove_btn_label: '',
    1919            remove_btn_tooltip: '',
    20             error: '',
     20            error: ''
    2121        },
    2222        available_widgets: [], // available widgets for instantiating
  • trunk/src/wp-includes/js/customize-views.js

    r27688 r27693  
    137137            var c = this.model.get('collection');
    138138            return _.extend(this.model.toJSON(), {
    139                 type: c.type,
     139                type: c.type
    140140            });
    141141        },
  • trunk/src/wp-includes/js/plupload/handlers.js

    r27662 r27693  
    403403        var isIE = navigator.userAgent.indexOf('Trident/') != -1 || navigator.userAgent.indexOf('MSIE ') != -1;
    404404
    405          // Make sure flash sends cookies (seems in IE it does whitout switching to urlstream mode)
    406          if ( ! isIE && 'flash' === plupload.predictRuntime( wpUploaderInit ) &&
    407             ( ! wpUploaderInit.required_features || ! wpUploaderInit.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
     405        // Make sure flash sends cookies (seems in IE it does whitout switching to urlstream mode)
     406        if ( ! isIE && 'flash' === plupload.predictRuntime( wpUploaderInit ) &&
     407            ( ! wpUploaderInit.required_features || ! wpUploaderInit.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
    408408
    409409            wpUploaderInit.required_features = wpUploaderInit.required_features || {};
  • trunk/src/wp-includes/js/plupload/wp-plupload.js

    r27681 r27693  
    8787        }
    8888
    89          // Make sure flash sends cookies (seems in IE it does without switching to urlstream mode)
    90          if ( ! isIE && 'flash' === plupload.predictRuntime( this.plupload ) &&
    91             ( ! this.plupload.required_features || ! this.plupload.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
     89        // Make sure flash sends cookies (seems in IE it does without switching to urlstream mode)
     90        if ( ! isIE && 'flash' === plupload.predictRuntime( this.plupload ) &&
     91            ( ! this.plupload.required_features || ! this.plupload.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
    9292
    9393            this.plupload.required_features = this.plupload.required_features || {};
  • trunk/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js

    r27668 r27693  
    193193            html = createImageAndLink( imageData, 'html' );
    194194
    195             width = parseInt( imageData.width );
     195            width = parseInt( imageData.width, 10 );
    196196
    197197            if ( ! editor.getParam( 'wpeditimage_html5_captions' ) ) {
Note: See TracChangeset for help on using the changeset viewer.