feat(SublimeText2.WebPackages): cache packages
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<snippet>
|
||||
<content><![CDATA[\$resource '${1:/action/:param}'${2:,
|
||||
\{ ${3:a: defaulta, b: defaultb} \}}${4:,
|
||||
\{
|
||||
${5:ActionName}:
|
||||
method: '${6:GET|POST|PUT|DELETE|JSONP|PATCH}'
|
||||
${7:params: \{ ${8:a: preBound, b: preBound} \}}
|
||||
${9:isArray: ${10:true|false}}
|
||||
${11:,
|
||||
${12:ActionName2}:
|
||||
method: '${13:GET|POST|PUT|DELETE|JSONP|PATCH}'
|
||||
${14:params: \{ ${15:a: preBound, b: preBound} \}}
|
||||
${16:isArray: ${17:true|false}} }
|
||||
\}
|
||||
}]]></content>
|
||||
<tabTrigger>$</tabTrigger>
|
||||
<scope>source.coffee</scope>
|
||||
<description>Angular $resource</description>
|
||||
</snippet>
|
@@ -0,0 +1,11 @@
|
||||
<snippet>
|
||||
<content><![CDATA[.\$delete ${1:\{ ${2:paramKey}: ${3:paramValue} \}}${4:, () ->
|
||||
${5:#success function}
|
||||
,
|
||||
() ->
|
||||
${6:#error function}}
|
||||
]]></content>
|
||||
<tabTrigger>.$</tabTrigger>
|
||||
<scope>source.coffee</scope>
|
||||
<description>Angular $resource delete</description>
|
||||
</snippet>
|
@@ -0,0 +1,11 @@
|
||||
<snippet>
|
||||
<content><![CDATA[.\$get ${1:\{ ${2:paramKey}: ${3:paramValue} \}}${4:, () ->
|
||||
${5:#success function}
|
||||
,
|
||||
() ->
|
||||
${6:#error function}}
|
||||
]]></content>
|
||||
<tabTrigger>.$</tabTrigger>
|
||||
<scope>source.coffee</scope>
|
||||
<description>Angular $resource get</description>
|
||||
</snippet>
|
@@ -0,0 +1,11 @@
|
||||
<snippet>
|
||||
<content><![CDATA[.\$query ${1:\{ ${2:paramKey}: ${3:paramValue} \}}${4:, () ->
|
||||
${5:#success function}
|
||||
,
|
||||
() ->
|
||||
${6:#error function}}
|
||||
]]></content>
|
||||
<tabTrigger>.$</tabTrigger>
|
||||
<scope>source.coffee</scope>
|
||||
<description>Angular $resource query</description>
|
||||
</snippet>
|
@@ -0,0 +1,11 @@
|
||||
<snippet>
|
||||
<content><![CDATA[.\$remove ${1:\{ ${2:paramKey}: ${3:paramValue} \}}${4:, () ->
|
||||
${5:#success function}
|
||||
,
|
||||
() ->
|
||||
${6:#error function}}
|
||||
]]></content>
|
||||
<tabTrigger>.$</tabTrigger>
|
||||
<scope>source.coffee</scope>
|
||||
<description>Angular $resource remove</description>
|
||||
</snippet>
|
@@ -0,0 +1,11 @@
|
||||
<snippet>
|
||||
<content><![CDATA[.\$save ${1:\{ ${2:paramKey}: ${3:paramValue} \},}${4:postData}${5:, () ->
|
||||
${6:#success function}
|
||||
,
|
||||
() ->
|
||||
${7:#error function}}
|
||||
]]></content>
|
||||
<tabTrigger>.$</tabTrigger>
|
||||
<scope>source.coffee</scope>
|
||||
<description>Angular $resource save</description>
|
||||
</snippet>
|
Reference in New Issue
Block a user