Precommit cleanup for theme.js, editor.css amd wpdialogs/plugin.js, See #27055, #26907, #16284

git-svn-id: https://develop.svn.wordpress.org/trunk@28045 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2014-04-08 08:28:57 +00:00
parent ff78684898
commit 0e44baa89e
3 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ themes.Model = Backbone.Model.extend({
// Adds attributes to the default data coming through the .org themes api
// Map `id` to `slug` for shared code
initialize: function() {
var install, installed;
var install;
// Install url for the theme
// using the install nonce
@ -1204,7 +1204,7 @@ themes.Run = {
});
// Handles search route event
themes.router.on( 'route:search', function( query ) {
themes.router.on( 'route:search', function() {
$( '.theme-search' ).trigger( 'keyup' );
});
@ -1548,7 +1548,7 @@ themes.InstallerRouter = Backbone.Router.extend({
search: function( query ) {
$( '.theme-search' ).val( query );
},
}
});
@ -1604,7 +1604,7 @@ themes.RunInstaller = {
});
// Handles search route event
themes.router.on( 'route:search', function( query ) {
themes.router.on( 'route:search', function() {
$( '.theme-search' ).focus().trigger( 'keyup' );
});

View File

@ -1519,8 +1519,8 @@ i.mce-i-hr:before {
height: 30px;
z-index: 100020;
background: #fff;
transition-property: height;
transition-duration: 0.2s;
-webkit-transition: height 0.2s;
transition: height 0.2s;
}
#wp-fullscreen-status {

View File

@ -32,7 +32,7 @@ tinymce.WPWindowManager = tinymce.InlineWindowManager = function( editor ) {
if ( typeof jQuery === 'undefined' || ! jQuery.wp || ! jQuery.wp.wpdialog ) {
// wpdialog.js is not loaded
if ( window.console && window.console.error ) {
window.console.error("wpdialog.js is not loaded. Please set 'wpdialogs' as dependency for your script when calling wp_enqueue_script(). You may also want to enqueue the 'wp-jquery-ui-dialog' stylesheet.");
window.console.error('wpdialog.js is not loaded. Please set "wpdialogs" as dependency for your script when calling wp_enqueue_script(). You may also want to enqueue the "wp-jquery-ui-dialog" stylesheet.');
}
return;