Skip to content

Instantly share code, notes, and snippets.

@L-fours-gists
Created October 5, 2012 01:12
Show Gist options
  • Save L-fours-gists/3837483 to your computer and use it in GitHub Desktop.
Save L-fours-gists/3837483 to your computer and use it in GitHub Desktop.
JavaScript: Base2 Create Class
<snippet>
<content><![CDATA[
${1:ClassName} = base2.Base.extend({
'${2:constructor}': function(${3:argument}) {
${4:// method body}
}
});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>base</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<description>Create New Base Class</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment