Native Function vs. 1.1.0 Full+Lite

All functions in JavaScript are Function objects. More details can be found at MSDN or MDN

The NoGray JavaScript Library extends the native Function object to allow binding, delay and OOP inheritence.


Function Function.bind (bind_obj, args) vs. 1.1.0 Full+Lite
The bind function allows binding an object to a function. Therefor, this will refer to the binding object in the function. You can also pass arguments to the function.
Function Function.delay (delay, bind, args) vs. 1.1.0 Full+Lite
If you would like to delay the execution of a function, the delay method will do just that. You can also bind an object an pass arguments to the function.
Function Function.defer (bind, args) vs. 1.1.0 Full+Lite
Defer will pause executing the function until the processing thread is clear. This function is useful when running a resource intensive scripts and would ensure the browser doesn't crash or prompt the user to stop the script.
Function Function.repeat (delay, bind, args) vs. 1.1.0 Full+Lite
Repeat the same function every specific period.
Function Function.inherit (parent) vs. 1.1.0 Full+Lite
JavaScript doesn't have a true class interface, so OOP in not a trivial task. Essentially, all classes are functions and the classes' objects are declared using the new keyword.
Function Function.rename_method (method, new_name) vs. 1.1.0 Full+Lite
Rename a class method name. This is used when a child class will overwrite the parent method, but still needs access to it.