Index: lang/javascript/exdomstorage/trunk/src/exdomstorage_impl.js
===================================================================
--- lang/javascript/exdomstorage/trunk/src/exdomstorage_impl.js (revision 19810)
+++ lang/javascript/exdomstorage/trunk/src/exdomstorage_impl.js (revision 19918)
@@ -17,22 +17,22 @@
 Cookie.prototype = {
   set: function(key, value) {
-	window.document.cookie = key + '=' + value + ";";
-	this.params[key] = value;
+    window.document.cookie = key + '=' + value + ";";
+    this.params[key] = value;
   },
   get: function(key) {
-	return this.params[key];
+    return this.params[key];
   },
   parse: function() {
-	var cookie = window.document.cookie;
-	if (!cookie)
-	  return {};
-
-	var params = {};
-	var pairs = cookie.split("; ");
-	for (var idx in pairs) with ( { pair: pairs[idx].split("=") } ) {
-	  params[pair[0]] = pair[1];
-	}
-
-	return params;
+    var cookie = window.document.cookie;
+    if (!cookie)
+      return {};
+
+    var params = {};
+    var pairs = cookie.split("; ");
+    for (var idx in pairs) with ( { pair: pairs[idx].split("=") } ) {
+      params[pair[0]] = pair[1];
+    }
+
+    return params;
   }
 };
@@ -54,43 +54,43 @@
 if (typeof contentDocument.attachEvent == "object") {
   (function(contentDocument) {
-	 var listeners = {
-	   onstorage: [],
-	   onstoragecommit: []
-	 };
-
-	 contentDocument.__nativeAttachEvent = contentDocument.attachEvent;
-	 // contentDocument.__nativeDetachEvent = contentDocument.detachEvent;
-	 contentDocument.__nativeFireEvent = contentDocument.fireEvent;
-
-	 contentDocument.attachEvent = function(type, fn) {
-	   if (listeners[type]) {
-		 listeners[type].push(fn);
-		 return true;
-	   }
-	   else {
-		 return contentDocument.__nativeAttachEvent(type, fn);
-	   }
-	 };
-
-	 contentDocument.fireEvent = function(type, evt) {
-	   if (listeners[type]) {
-		 try {
-		   if (typeof contentDocument[type] == "function")
-			 contentDocument[type](evt);
-
-		   for (var i in listeners[type]) if (typeof listeners[type][i] == "function") {
-			 listeners[type][i](evt);
-		   }
-		   return true;
-		 }
-		 catch (e) {
-		   return false;
-		 }
-	   }
-	   else {
-		 return contentDocument.__nativeFireEvent(type, evt);
-	   }
-	 };
-  })(contentDocument);
+     var listeners = {
+       onstorage: [],
+       onstoragecommit: []
+     };
+
+     contentDocument.__nativeAttachEvent = contentDocument.attachEvent;
+     // contentDocument.__nativeDetachEvent = contentDocument.detachEvent;
+     contentDocument.__nativeFireEvent = contentDocument.fireEvent;
+
+     contentDocument.attachEvent = function(type, fn) {
+       if (listeners[type]) {
+         listeners[type].push(fn);
+         return true;
+       }
+       else {
+         return contentDocument.__nativeAttachEvent(type, fn);
+       }
+     };
+
+     contentDocument.fireEvent = function(type, evt) {
+       if (listeners[type]) {
+         try {
+           if (typeof contentDocument[type] == "function")
+             contentDocument[type](evt);
+
+           for (var i in listeners[type]) if (typeof listeners[type][i] == "function") {
+             listeners[type][i](evt);
+           }
+           return true;
+         }
+         catch (e) {
+           return false;
+         }
+       }
+       else {
+         return contentDocument.__nativeFireEvent(type, evt);
+       }
+     };
+   })(contentDocument);
 }
 
@@ -108,10 +108,10 @@
 
   if (storageId == "sessionStorage") {
-	var cookie = new Cookie();
-
-	if (cookie.get("__sessionStorage__")) {
-	  initSessionStorage = true;
-	  cookie.set("__sessionStorage__", 1);
-	}
+    var cookie = new Cookie();
+
+    if (cookie.get("__sessionStorage__")) {
+      initSessionStorage = true;
+      cookie.set("__sessionStorage__", 1);
+    }
   }
 
@@ -124,7 +124,7 @@
     else {
       storage = JSON.parse(serialized);
-	  for (var key in storage) {
-		element[key] = storage[key];
-	  }
+      for (var key in storage) {
+        element[key] = storage[key];
+      }
     }
   }
@@ -138,5 +138,5 @@
 function syncronize(evt) {
   if (isInitiation) // Block onpropertychange event for loading storage data
-	return;
+    return;
 
   var key = evt.propertyName;
@@ -193,13 +193,13 @@
 
   evt.initStorageEvent = function(type, canBubble, cancelable, key, oldValue, newValue, url, source) {
-	this.type = type;
-	this.canBubble = canBubble;
-	this.cancelable = cancelable;
-	this.key = key;
-	this.oldValue = oldValue;
-	this.newValue = newValue;
-	this.url = url;
-	this.uri = url;
-	this.source = source;
+    this.type = type;
+    this.canBubble = canBubble;
+    this.cancelable = cancelable;
+    this.key = key;
+    this.oldValue = oldValue;
+    this.newValue = newValue;
+    this.url = url;
+    this.uri = url;
+    this.source = source;
   };
 
@@ -224,11 +224,11 @@
 function getRemainingSpace(serialized) {
   if (!serialized)
-	serialized = JSON.stringify(storage);
+    serialized = JSON.stringify(storage);
 
   if (storageId == "localStorage") {
-	return localStorageSpace - serialized.length;
+    return localStorageSpace - serialized.length;
   }
   else {
-	return sessionStorageSpace - serialized.length;
+    return sessionStorageSpace - serialized.length;
   }
 }
@@ -239,5 +239,5 @@
   update();
   var evt = createEvent(opts);
-//  storageEvent.fire(evt);
+  //  storageEvent.fire(evt);
   contentDocument.fireEvent("onstorage", evt);
 }
@@ -268,5 +268,5 @@
   update();
   var evt = createEvent(opts);
-//  storageEvent.fire(evt);
+  //  storageEvent.fire(evt);
   contentDocument.fireEvent("onstorage", evt);
 }
@@ -286,5 +286,5 @@
   update();
   var evt = createEvent(opts);
-//  storageEvent.fire(evt);
+  //  storageEvent.fire(evt);
   contentDocument.fireEvent("onstorage", evt);
 }
Index: lang/javascript/exdomstorage/trunk/src/exdomstorage.htc
===================================================================
--- lang/javascript/exdomstorage/trunk/src/exdomstorage.htc (revision 19810)
+++ lang/javascript/exdomstorage/trunk/src/exdomstorage.htc (revision 19918)
@@ -10,5 +10,4 @@
   <public:attach event="onreadystatechange" for="element" onevent="initialize();" />
   <public:attach event="onpropertychange" for="element" onevent="syncronize(window.event);" />
-  <!-- public:event id="storageEvent" name="onstorage" / -->
   <script type="text/javascript" src="../src/json2.js"></script>
   <script type="text/javascript" src="../src/exdomstorage_impl.js"></script>
