Permalink
Browse files

Changes to function signatures.

  • Loading branch information...
1 parent ed7d847 commit f2ab10cda8629594a5cd790e21697d142a60908e @jachoi jachoi committed Jan 30, 2012
@@ -75,6 +75,8 @@ public Object execute( Object thiz, Object[] args ) throws Exception {
fs.addParam( Scriptable.class, true );
// callback
fs.addParam( ScriptableFunction.class, true );
+ // filler
+ fs.addParam( Object.class, true );
return new FunctionSignature[] { fs };
}
}
@@ -70,6 +70,8 @@ public Object execute( Object thiz, Object[] args ) throws Exception {
fs.addParam( Integer.class, true );
// callback
fs.addParam( ScriptableFunction.class, true );
+ // filler
+ fs.addParam( Object.class, true );
return new FunctionSignature[] { fs };
}
}

0 comments on commit f2ab10c

Please sign in to comment.