From 68bfa704cf58d2b62cfc74dcaf6c3d67d18a749f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 27 Mar 2014 17:31:14 +0000 Subject: [PATCH] Remove unused JS variables after [27770]. see #27013. Built from https://develop.svn.wordpress.org/trunk@27783 git-svn-id: http://core.svn.wordpress.org/trunk@27619 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/js/post.js | 3 +-- wp-includes/js/tinymce/plugins/wordpress/plugin.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-admin/js/post.js b/wp-admin/js/post.js index df43fd957e..0811471ddf 100644 --- a/wp-admin/js/post.js +++ b/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/wp-includes/js/tinymce/plugins/wordpress/plugin.js b/wp-includes/js/tinymce/plugins/wordpress/plugin.js index b0e1905268..8c5d543d73 100644 --- a/wp-includes/js/tinymce/plugins/wordpress/plugin.js +++ b/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;