Skip to content

Instantly share code, notes, and snippets.

@devbyray
Created January 29, 2015 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devbyray/6dbb235639755c6f5214 to your computer and use it in GitHub Desktop.
Save devbyray/6dbb235639755c6f5214 to your computer and use it in GitHub Desktop.
Sublime selff snippet
<snippet>
<content><![CDATA[
(function() {
'use strict';
var ${1:function_name} = function() {
var ${1:function_name} = "abc";
return ${1:function_name};
}
${1:function_name}();
}());
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>selff</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment