Skip to content

Commit

Permalink
Changes to function signatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
jachoi committed Jan 30, 2012
1 parent ed7d847 commit f2ab10c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -75,6 +75,8 @@ protected FunctionSignature[] getFunctionSignatures() {
fs.addParam( Scriptable.class, true ); fs.addParam( Scriptable.class, true );
// callback // callback
fs.addParam( ScriptableFunction.class, true ); fs.addParam( ScriptableFunction.class, true );
// filler
fs.addParam( Object.class, true );
return new FunctionSignature[] { fs }; return new FunctionSignature[] { fs };
} }
} }
Expand Up @@ -70,6 +70,8 @@ protected FunctionSignature[] getFunctionSignatures() {
fs.addParam( Integer.class, true ); fs.addParam( Integer.class, true );
// callback // callback
fs.addParam( ScriptableFunction.class, true ); fs.addParam( ScriptableFunction.class, true );
// filler
fs.addParam( Object.class, true );
return new FunctionSignature[] { fs }; return new FunctionSignature[] { fs };
} }
} }

0 comments on commit f2ab10c

Please sign in to comment.