Author: jasvir Date: Sat Jan 16 22:37:52 2010 New Revision: 900032 URL: http://svn.apache.org/viewvc?rev=900032&view=rev Log: Oops - trivial change missed from my last patch without which taming will not work
Modified: incubator/shindig/trunk/features/src/main/javascript/features/caja/taming.js Modified: incubator/shindig/trunk/features/src/main/javascript/features/caja/taming.js URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/caja/taming.js?rev=900032&r1=900031&r2=900032&view=diff ============================================================================== --- incubator/shindig/trunk/features/src/main/javascript/features/caja/taming.js (original) +++ incubator/shindig/trunk/features/src/main/javascript/features/caja/taming.js Sat Jan 16 22:37:52 2010 @@ -75,7 +75,7 @@ var length = schemas.length; for (var i=0; i < length; i++) { var schema = schemas[i]; - if (typeof schema[0][schema[1]] == 'function') { + if (typeof schema[0].prototype[schema[1]] == 'function') { ___.grantInnocentMethod(schema[0].prototype, schema[1]); } else { gadgets.warn("Error taming method: " + schema[0] + "." + schema[1]);