Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 410 Bytes
<snippet>
<content><![CDATA[
/**
* YUIDoc_comment
*
* @method ${1:methodName}
* @${2:accessType}
*/
${TM_FILENAME/(.*)[.](.*)/$1/g}.prototype.${1} = function ($3) {
$4
}
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>method</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>