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){


Reply via email to