Skip to content

Commit

Permalink
reverted $apply on JS Function object
Browse files Browse the repository at this point in the history
  • Loading branch information
renaudpawlak committed May 2, 2017
1 parent e395158 commit 0904e0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core-lib/es5/src/main/java/def/js/Function.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class Function extends def.js.Object {
* @param thisArg The object to be used as the this object.
* @param argArray A set of arguments to be passed to the function.
*/
native public java.lang.Object $apply(java.lang.Object thisArg, java.lang.Object argArray);
native public java.lang.Object apply(java.lang.Object thisArg, java.lang.Object argArray);
/**
* Calls a method of an object, substituting another object for the current object.
* @param thisArg The object to be used as the current object.
Expand Down Expand Up @@ -37,7 +37,7 @@ public Function(java.lang.String... args){}
* @param thisArg The object to be used as the this object.
* @param argArray A set of arguments to be passed to the function.
*/
native public java.lang.Object $apply(java.lang.Object thisArg);
native public java.lang.Object apply(java.lang.Object thisArg);
native public java.lang.Object caller(java.lang.Object... args);
protected Function(){}
}
Expand Down
4 changes: 2 additions & 2 deletions core-lib/es6/src/main/java/def/js/Function.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class Function extends def.js.Object {
* @param thisArg The object to be used as the this object.
* @param argArray A set of arguments to be passed to the function.
*/
native public java.lang.Object $apply(java.lang.Object thisArg, java.lang.Object argArray);
native public java.lang.Object apply(java.lang.Object thisArg, java.lang.Object argArray);
/**
* Calls a method of an object, substituting another object for the current object.
* @param thisArg The object to be used as the current object.
Expand Down Expand Up @@ -46,7 +46,7 @@ public Function(java.lang.String... args){}
* @param thisArg The object to be used as the this object.
* @param argArray A set of arguments to be passed to the function.
*/
native public java.lang.Object $apply(java.lang.Object thisArg);
native public java.lang.Object apply(java.lang.Object thisArg);
native public java.lang.Object caller(java.lang.Object... args);
protected Function(){}
}
Expand Down

0 comments on commit 0904e0a

Please sign in to comment.