You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2010/01/28 17:48:05 UTC

svn commit: r904153 - /incubator/wookie/trunk/WebContent/shared/js/wookie-wrapper.js

Author: scottbw
Date: Thu Jan 28 16:48:05 2010
New Revision: 904153

URL: http://svn.apache.org/viewvc?rev=904153&view=rev
Log:
Changed the wrapper to return the height and width parameters of the widget as integers (this enables us to pass W3C TWI tests "ao" and "ap")

Modified:
    incubator/wookie/trunk/WebContent/shared/js/wookie-wrapper.js

Modified: incubator/wookie/trunk/WebContent/shared/js/wookie-wrapper.js
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/WebContent/shared/js/wookie-wrapper.js?rev=904153&r1=904152&r2=904153&view=diff
==============================================================================
--- incubator/wookie/trunk/WebContent/shared/js/wookie-wrapper.js (original)
+++ incubator/wookie/trunk/WebContent/shared/js/wookie-wrapper.js Thu Jan 28 16:48:05 2010
@@ -144,8 +144,8 @@
 		Widget.name = map["name"];
 		Widget.description = map["description"];
 		Widget.version = map["version"];
-		Widget.height = map["height"];
-		Widget.width = map["width"];
+		Widget.height = parseInt(map["height"]);
+		Widget.width = parseInt(map["width"]);
 	},
 	
 	setPrefs: function(map){