<script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js"></script>
<h1>Tha jQuery code</h1>
<p>
<span class="notes">by Kees C. Bakker</span>
<span class="notes">
After writing some jQuery plugins I decided it was time to build a
generator that would create the basic structure of the plug in. The
class that's generated is based on the article
<a href="http://jmquery.com/2010/04/jquery-plugin-development-pattern/">
jQuery Development Pattern</a>. If you have some questions or feedback,
just <a href="http://keestalkstech.blogspot.com">post it on my blog</a>.
</span>
</p>
<p>
<h2>General</h2>
<label title="Name of the class." for="Name">Plugin name:</label><input id="Name" type="text" class="name" /><br/>
<label title="Will occur on as the scription of the plugin." for="Description">Description:</label><textarea id="Description" class="description" rows="1"></textarea><br/>
</p>
<p>
<h2>Default settings</h2>
<table id="Options">
<tr>
<th>Name</th>
<th>Type</th>
<th>Default value</th>
<th></th>
</tr>
</table>
<button id="AddOption">Add</button>
</p>
<p>
<h2>Privates</h2>
<span class="notes">
Add here the options. By default the element is saved to <pre>this.$el</pre>, the settings are saved to <pre>this.opts</pre> and the defaults are save to <pre>this.defaults</pre>.
</span>
<table id="Constants">
<tr>
<th>Name</th>
<th>Type</th>
<th>Value</th>
<th></th>
</tr>
</table>
<button id="AddConstant">Add</button>
</p>
<p>
<h2>Public methods</h2>
<table id="Methods">
<tr>
<th>Name</th>
<th>Description</th>
<th></th>
</tr>
</table>
<button id="AddMethod">Add</button>
</p>
<p>
<h2>Tha code:</h2>
<pre...