From ccf21196cb260267e41f1003700cd2fcf16b457f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 27 Mar 2014 17:31:00 +0000 Subject: [PATCH] Remove unused JS variables after [27770]. see #27013. git-svn-id: https://develop.svn.wordpress.org/trunk@27783 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/post.js | 3 +-- src/wp-includes/js/tinymce/plugins/wordpress/plugin.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/js/post.js b/src/wp-admin/js/post.js index df43fd957e..0811471ddf 100644 --- a/src/wp-admin/js/post.js +++ b/src/wp-admin/js/post.js @@ -374,8 +374,7 @@ $(document).on( 'heartbeat-send.refresh-lock', function( e, data ) { }(jQuery)); jQuery(document).ready( function($) { - var stamp, visibility, $submitButtons, updateVisibility, updateText, $content, topx, reset, - deltax = 0, + var stamp, visibility, $submitButtons, updateVisibility, updateText, sticky = '', last = 0, co = $('#content'), diff --git a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js index b0e1905268..8c5d543d73 100644 --- a/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/src/wp-includes/js/tinymce/plugins/wordpress/plugin.js @@ -270,8 +270,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) { }); editor.on( 'init', function() { - var env = tinymce.Env, topx, reset, - deltax = 0, + var env = tinymce.Env, bodyClass = ['mceContentBody'], // back-compat for themes that use this in editor-style.css... doc = editor.getDoc(), dom = editor.dom;