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:
parent
5eef57ec0e
commit
d85ac5b841
|
@ -17,7 +17,7 @@ var WidgetCustomizer = ( function ($) {
|
||||||
save_btn_tooltip: '',
|
save_btn_tooltip: '',
|
||||||
remove_btn_label: '',
|
remove_btn_label: '',
|
||||||
remove_btn_tooltip: '',
|
remove_btn_tooltip: '',
|
||||||
error: '',
|
error: ''
|
||||||
},
|
},
|
||||||
available_widgets: [], // available widgets for instantiating
|
available_widgets: [], // available widgets for instantiating
|
||||||
registered_widgets: [], // all widgets registered
|
registered_widgets: [], // all widgets registered
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
extendedModel: function() {
|
extendedModel: function() {
|
||||||
var c = this.model.get('collection');
|
var c = this.model.get('collection');
|
||||||
return _.extend(this.model.toJSON(), {
|
return _.extend(this.model.toJSON(), {
|
||||||
type: c.type,
|
type: c.type
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,7 @@ tinymce.PluginManager.add( 'wpeditimage', function( editor ) {
|
||||||
|
|
||||||
html = createImageAndLink( imageData, 'html' );
|
html = createImageAndLink( imageData, 'html' );
|
||||||
|
|
||||||
width = parseInt( imageData.width );
|
width = parseInt( imageData.width, 10 );
|
||||||
|
|
||||||
if ( ! editor.getParam( 'wpeditimage_html5_captions' ) ) {
|
if ( ! editor.getParam( 'wpeditimage_html5_captions' ) ) {
|
||||||
width += 10;
|
width += 10;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue