Let us pass jshint:core.

Built from https://develop.svn.wordpress.org/trunk@27693


git-svn-id: http://core.svn.wordpress.org/trunk@27532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-03-24 23:02:13 +00:00
parent 5eef57ec0e
commit d85ac5b841
7 changed files with 10 additions and 10 deletions

View File

@ -17,7 +17,7 @@ var WidgetCustomizer = ( function ($) {
save_btn_tooltip: '',
remove_btn_label: '',
remove_btn_tooltip: '',
error: '',
error: ''
},
available_widgets: [], // available widgets for instantiating
registered_widgets: [], // all widgets registered

View File

@ -136,7 +136,7 @@
extendedModel: function() {
var c = this.model.get('collection');
return _.extend(this.model.toJSON(), {
type: c.type,
type: c.type
});
},

View File

@ -402,9 +402,9 @@ jQuery(document).ready(function($){
uploader_init = function() {
var isIE = navigator.userAgent.indexOf('Trident/') != -1 || navigator.userAgent.indexOf('MSIE ') != -1;
// Make sure flash sends cookies (seems in IE it does whitout switching to urlstream mode)
if ( ! isIE && 'flash' === plupload.predictRuntime( wpUploaderInit ) &&
( ! wpUploaderInit.required_features || ! wpUploaderInit.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
// Make sure flash sends cookies (seems in IE it does whitout switching to urlstream mode)
if ( ! isIE && 'flash' === plupload.predictRuntime( wpUploaderInit ) &&
( ! wpUploaderInit.required_features || ! wpUploaderInit.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
wpUploaderInit.required_features = wpUploaderInit.required_features || {};
wpUploaderInit.required_features.send_binary_string = true;

View File

@ -86,9 +86,9 @@ window.wp = window.wp || {};
return;
}
// Make sure flash sends cookies (seems in IE it does without switching to urlstream mode)
if ( ! isIE && 'flash' === plupload.predictRuntime( this.plupload ) &&
( ! this.plupload.required_features || ! this.plupload.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
// Make sure flash sends cookies (seems in IE it does without switching to urlstream mode)
if ( ! isIE && 'flash' === plupload.predictRuntime( this.plupload ) &&
( ! this.plupload.required_features || ! this.plupload.required_features.hasOwnProperty( 'send_binary_string' ) ) ) {
this.plupload.required_features = this.plupload.required_features || {};
this.plupload.required_features.send_binary_string = true;

View File

@ -192,7 +192,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
html = createImageAndLink( imageData, 'html' );
width = parseInt( imageData.width );
width = parseInt( imageData.width, 10 );
if ( ! editor.getParam( 'wpeditimage_html5_captions' ) ) {
width += 10;

File diff suppressed because one or more lines are too long