Skip to content

Conversation

niokasgami
Copy link

Add two new I think Must function to the PluginManager for help more code cleaning
From my actual pluginManager but I think those two methods are the most important to be implemented.
who are
"ToBoolean" who cope the fact it's return a true boolean without having to do the string splitting on the variable declaration which is messy.

"ToArray" Allow the use Array in plugin parameters box

Add two new I think Must function to the PluginManager  for help more  code cleaning 
From my actual pluginManager but I think those two methods are the most important to be implemented.
who are 
"ToBoolean" who cope the fact it's return a true boolean without having to do the string splitting on the variable declaration which is messy.

"ToArray" Allow the use Array in plugin parameters box
* @param {string} parameters
* @returns {Array<any>}
*/
Pluginmanager.toArray = function (plugin, parameters) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo? Pluginmanager

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah my bad lol hahah I guess I just made a little typoe without noticing will fix that

Updated the pluginManager extentions because it as a typo I didn't notice lol
@ghost
Copy link

ghost commented Mar 15, 2017

Just a small note: I think the correct spelling is "Extension"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants