Skip to content
Browse files

Fixed a small bug :) - (I like the GitHub editor btw)

  • Loading branch information...
1 parent 07bc26b commit f2d6c77720cdf7ecafbb0fbf1b5b2576a564f7e2 @aknosis aknosis committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugin-boilerplate.js
1 plugin-boilerplate.js
@@ -33,6 +33,7 @@ var namespace = {
//private init method - This is called immediately after the constructor
_init : function(){
//useful code here
+ return this; //This is very important if you want to call into your plugin after the initial setup
//private method - We filter out method names that start with an underscore this won't work outside

0 comments on commit f2d6c77

Please sign in to comment.
Something went wrong with that request. Please try again.