Explicitly declare Javascript vars when created, props projct, fixes #8654, fixes #8655, fixes #8656, for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6b1b25c6d8
commit
f7e5bfa831
|
@ -1,5 +1,5 @@
|
|||
|
||||
wpCookies = {
|
||||
var wpCookies = {
|
||||
// The following functions are from Cookie.js class in TinyMCE, Moxiecode, used under LGPL.
|
||||
|
||||
each : function(o, cb, s) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
switchEditors = {
|
||||
var switchEditors = {
|
||||
|
||||
mode : '',
|
||||
|
||||
|
@ -169,4 +169,4 @@ switchEditors = {
|
|||
|
||||
return pee;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
wpAjax = jQuery.extend( {
|
||||
var wpAjax = jQuery.extend( {
|
||||
unserialize: function( s ) {
|
||||
var r = {}; if ( !s ) { return r; }
|
||||
var q = s.split('?'); if ( q[1] ) { s = q[1]; }
|
||||
|
|
Loading…
Reference in New Issue