Author: vsiveton
Date: Wed Apr 8 22:11:20 2009
New Revision: 763429
URL: http://svn.apache.org/viewvc?rev=763429&view=rev
Log:
SHINDIG-1005: Cajaoling Gadgets are not working with Java Shindig
Submitted by: impetus technologies
o patch applied
Modified:
incubator/shindig/branches/1.0.x-incubating/features/opensocial-reference/container.js
Modified:
incubator/shindig/branches/1.0.x-incubating/features/opensocial-reference/container.js
URL:
http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/features/opensocial-reference/container.js?rev=763429&r1=763428&r2=763429&view=diff
==============================================================================
---
incubator/shindig/branches/1.0.x-incubating/features/opensocial-reference/container.js
(original)
+++
incubator/shindig/branches/1.0.x-incubating/features/opensocial-reference/container.js
Wed Apr 8 22:11:20 2009
@@ -550,7 +550,7 @@
var imports = ___.copy(___.sharedImports);
imports.outers = imports;
imports.console = console;
- imports.$v = ___.asSimpleFunc(valijaMaker)(imports);
+ imports.$v = ___.asFunc(valijaMaker)(imports);
___.getNewModuleHandler().setImports(imports);
@@ -1075,20 +1075,20 @@
var type = m[1], name = m[2];
switch (type) {
case 'c':
- ___.allowRead(obj, name);
+ ___.grantRead(obj, name);
whitelist(schema[k], obj[name]);
break;
case 'm':
- ___.allowCall(obj.prototype, name);
+ ___.grantCall(obj.prototype, name);
break;
case 'f':
- ___.allowRead(obj.prototype, name);
+ ___.grantRead(obj.prototype, name);
break;
case 's':
if ('function' === typeof obj[name]) {
- ___.allowCall(obj, name);
+ ___.grantCall(obj, name);
} else {
- ___.allowRead(obj, name);
+ ___.grantRead(obj, name);
}
break;
}