Skip to content

Commit

Permalink
instantiate plugins with instance as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
hdngr committed Nov 12, 2014
1 parent e206521 commit 71af440
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/scripts/alchemy/plugins/plugins.coffee.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ and any defined plugins are initialized. For example: `foo = new Alchemy({plugi
if not instance.plugins[p]
console.warn("It looks like the plugin, #{p} you are trying to load, has not been included.")
else
instance.plugins[p]()
# console.log("foo")
instance.plugins[p](instance)

0 comments on commit 71af440

Please sign in to comment.