Various JSHint fixes. see #26446.
Built from https://develop.svn.wordpress.org/trunk@27131 git-svn-id: http://core.svn.wordpress.org/trunk@26998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cbc1b90633
commit
6adabc6e4d
|
@ -621,7 +621,7 @@ $(document).ready(function(){
|
|||
highlight_first: adminCommentsL10n.hotkeys_highlight_first,
|
||||
highlight_last: adminCommentsL10n.hotkeys_highlight_last,
|
||||
prev_page_link_cb: make_hotkeys_redirect('prev'),
|
||||
next_page_link_cb: make_hotkeys_redirect('next'),
|
||||
next_page_link_cb: make_hotkeys_redirect('next'),
|
||||
hotkeys_opts: {
|
||||
disableInInput: true,
|
||||
type: 'keypress',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* global tinymce, QTags, tb_remove */
|
||||
/* global tinymce, QTags */
|
||||
// send html to the post editor
|
||||
|
||||
var wpActiveEditor, send_to_editor;
|
||||
|
|
|
@ -370,7 +370,7 @@ $(document).on( 'heartbeat-send.refresh-lock', function( e, data ) {
|
|||
}(jQuery));
|
||||
|
||||
jQuery(document).ready( function($) {
|
||||
var stamp, visibility, $submitButtons, updateVisibility, updateText,
|
||||
var stamp, visibility, $submitButtons, updateVisibility, updateText, $content,
|
||||
sticky = '',
|
||||
last = 0,
|
||||
co = $('#content'),
|
||||
|
@ -1066,7 +1066,7 @@ jQuery(document).ready( function($) {
|
|||
|
||||
if ( ! ( 'ontouchstart' in window ) ) {
|
||||
// When scrolling with mouse wheel or trackpad inside the Text editor, don't scroll the whole window
|
||||
var $content = $('#content').on( 'onwheel' in $document[0] ? 'wheel.text-editor-scroll' : 'mousewheel.text-editor-scroll', function( event ) {
|
||||
$content = $('#content').on( 'onwheel' in $document[0] ? 'wheel.text-editor-scroll' : 'mousewheel.text-editor-scroll', function( event ) {
|
||||
var delta, origEvent = event.originalEvent;
|
||||
|
||||
if ( wp.editor && wp.editor.fullscreen.settings.visible ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -910,7 +910,7 @@
|
|||
* @returns {wp.media.view.MediaFrame}
|
||||
*/
|
||||
open: function( id, options ) {
|
||||
var workflow, editor;
|
||||
var workflow;
|
||||
|
||||
options = options || {};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, fullscreen, prompt */
|
||||
/* global adminpage, wpActiveEditor, quicktagsL10n, wpLink, prompt */
|
||||
/*
|
||||
* Quicktags
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue