Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f2d6c77720cdf7ecafbb0fbf1b5b2576a564f7e2 1 parent 07bc26b
@aknosis aknosis authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  plugin-boilerplate.js
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.