org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/UIElement.js
changeset 102 30e0796f3ebb
parent 73 c56c874eef47
child 210 0f7abfd6ae62
--- a/org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/UIElement.js	Fri Feb 05 09:22:26 2010 -0800
+++ b/org.symbian.tools.wrttools/projecttemplates/WRTKit/UI/UIElement.js	Fri Feb 05 11:54:28 2010 -0800
@@ -70,18 +70,18 @@
     if (id != null) {
         this.rootElement.id = id;
     }
-}
+};
 
 // Returns an array containing the current event listeners.
 UIElement.prototype.getEventListeners = function() {
     return this.eventListeners;
-}
+};
 
 // Adds an event listener.
 UIElement.prototype.addEventListener = function(eventType, listener) {
     var listenerDef = { type: eventType, listener: listener };
     this.eventListeners.push(listenerDef);
-}
+};
 
 // Removes an event listener.
 UIElement.prototype.removeEventListener = function(eventType, listener) {
@@ -95,12 +95,12 @@
             return;
         }
     }
-}
+};
 
 // Factory method for an event object where this object is the source object.
 UIElement.prototype.createEvent = function(type, value) {
     return { source: this, type: type, value: value };
-}
+};
 
 // Fires an event to all listeners.
 UIElement.prototype.fireEvent = function(event) {
@@ -111,4 +111,4 @@
             listenerDef.listener.call(this, event);
         }
     }
-}
+};