Explicitly declare Javascript vars when created, props projct, fixes #8654, fixes #8655, fixes #8656, for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5161f00e3b
commit
66f7ae27a4
@ -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
Block a user