API - Plugin
Plugin object which will discover and run specific plugins.
This function will execute a function in the plugins. This will bind the provided parameters to the function.Parameters
|method||String||The name of the function to execute|
Returns Object: The plugin object itself, used to run more plugins.
This method will get the requested plugin(s). The plugins are for a global system. Because the affect system behaviors. When the type has a "." in the name it is split. First we will check if the single plugin exists which is path ( + name ) + name. if this file doesn't exist then we will check all the files in the directory. (if it is a directory). then we will return everything (file or array). Everything will be cast to a promise.Parameters
|type||String||The type of plugins to receive.|