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:
Andrew Ozz 2008-12-19 20:33:44 +00:00
parent 5161f00e3b
commit 66f7ae27a4
3 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -1,5 +1,5 @@
switchEditors = {
var switchEditors = {
mode : '',
@ -169,4 +169,4 @@ switchEditors = {
return pee;
}
}
};

View File

@ -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]; }