Skip to content

Instantly share code, notes, and snippets.

@lonelydatum
Created September 24, 2015 17:31
Show Gist options
  • Save lonelydatum/fa53fa7e48390bc41ecd to your computer and use it in GitHub Desktop.
Save lonelydatum/fa53fa7e48390bc41ecd to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
var Frame = require('../../_common/js/Frame.js');
class Frame${1:1} extends Frame{
addImages(){
}
play(){
super.play()
${2}
}
}
module.exports = new Frame${1:1}('.frame${1:1}');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>frame</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment