Skip to content

Instantly share code, notes, and snippets.

@ekazakov
Created February 4, 2014 21:28
Show Gist options
  • Save ekazakov/8812710 to your computer and use it in GitHub Desktop.
Save ekazakov/8812710 to your computer and use it in GitHub Desktop.
object method snippet
<snippet>
<content><![CDATA[
${1:method}: function (${2:options}) {
${4:throw "${1} is not implemmented yet.";}
}${3:,}
]]></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>
<description>Create object method</description>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment