[KSS-checkins] r49363 - kukit/kukit.js/trunk/kukit

reebalazs at codespeak.net reebalazs at codespeak.net
Wed Dec 5 09:30:38 CET 2007


Author: reebalazs
Date: Wed Dec  5 09:30:37 2007
New Revision: 49363

Modified:
   kukit/kukit.js/trunk/kukit/dom.js
Log:
After loglevel merge, change style to the closure standard and add missing semicolons.

Modified: kukit/kukit.js/trunk/kukit/dom.js
==============================================================================
--- kukit/kukit.js/trunk/kukit/dom.js	(original)
+++ kukit/kukit.js/trunk/kukit/dom.js	Wed Dec  5 09:30:37 2007
@@ -438,7 +438,7 @@
  * http://www.quirksmode.org/js/cookies.html
  */
 
-this.createCookie = function(name, value, days) {
+dom.createCookie = function(name, value, days) {
     if (days) {
         var date = new Date();
         date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
@@ -446,16 +446,16 @@
     }
     else var expires = "";
     document.cookie = name + "=" + value + expires + "; path=/";
-}
+};
 
 // we get this from kukit utils.js. We needed an early
 // definition there, because logging is needed from the
 // very beginning.
-this.readCookie = kukit.readCookie;
+dom.readCookie = kukit.readCookie;
 
-this.eraseCookie = function(name) {
+dom.eraseCookie = function(name) {
     createCookie(name, "", -1);
-}
+};
 
 }();                              /// MODULE END
 


More information about the Kukit-checkins mailing list