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:
azaozz 2008-12-19 20:33:44 +00:00
parent 6b1b25c6d8
commit f7e5bfa831
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]; }