feat(SublimeText2.WebPackages): cache packages

This commit is contained in:
Iristyle
2013-04-04 08:54:25 -04:00
parent 590d7a44f9
commit 1e6f643a1b
1026 changed files with 79077 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<snippet>
<content><![CDATA[\$.ajax({
url: '${1:/path/to/file}',
${2/(.+)/(?1: type\: ':)/}${2:POST}${2/(.+)/(?1:',
:)/}${3/(.+)/(?1: dataType\: ':)/}${3:xml/html/script/json/jsonp}${3/(.+)/(?1:',
:)/}${4/(.+)/(?1: data\: {:)/}${4:param1: 'value1'}${4/(.+)/(?1:},
:)/}${5/(.+)/(?1: complete\: function\(xhr, textStatus\) {
:)/}${5://called when complete}${5/(.+)/(?1:
},
:)/}${6/(.+)/(?1: success\: function\(data, textStatus, xhr\) {
:)/}${6://called when successful}${6/(.+)/(?1:
},
:)/}${7/(.+)/(?1: error\: function\(xhr, textStatus, errorThrown\) {
:)/}${7://called when there is an error}
${7/(.+)/(?1: }
:)/}});
$0]]></content>
<tabTrigger>.ajax</tabTrigger>
<scope>source.js</scope>
</snippet>