mirror of
https://github.com/amix/vimrc
synced 2024-12-26 20:03:12 +00:00
15 lines
335 B
Text
15 lines
335 B
Text
|
snippet def
|
||
|
define(["${1:#dependencies1}"], function (${2:#dependencies2}) {
|
||
|
return ${0:TARGET};
|
||
|
});
|
||
|
|
||
|
snippet defn
|
||
|
define("${1:#name}", ["${2:#dependencies1}"], function (${3:#dependencies2}) {
|
||
|
return ${0:TARGET};
|
||
|
});
|
||
|
|
||
|
snippet reqjs
|
||
|
require(["${1:#dependencies1}"], function (${2:#dependencies2}) {
|
||
|
return ${0:TARGET};
|
||
|
});
|