Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified Plugin.prototype, showing how to add more functions. #9

Closed
wants to merge 1 commit into from

Commits on Mar 8, 2012

  1. Modified Plugin.prototype, showing how to add more functions to the p…

    …lugin by extending the prototype of the plugin.
    
    
    I would like to propose a small change to this plugin, showing how to add more functions to this plugin, since the init function, in most cases will not be enough. As I understand it, adding all functions that I want to use to the Plugins prototype is the recommended way of going about it. If I am incorrect I would appreciate feedback about what is the best way to add functions that I want to use in init(). :)
    
    Thanks.
    kahlil committed Mar 8, 2012
    Configuration menu
    Copy the full SHA
    94ef409 View commit details
    Browse the repository at this point in the history