chuck.js/snippets/sublime/js-define-child.sublime-snippet
2014-12-22 01:43:21 +01:00

20 lines
No EOL
451 B
XML

<snippet>
<content><![CDATA[
define([
"${1:Path}"
],
function (Parent) {
"use strict";
return Parent;
});
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>defc</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.js</scope>
<description>define(Child) - create a new empty child require.js module</description>
</snippet>