Skip to content
This repository
Newer
Older
100644 32 lines (31 sloc) 1.075 kb
05d63ab2 »
2008-09-17 initial move to github
1 <?xml version="1.0" encoding="UTF-8"?>
2ea04f0d »
2008-10-06 fixed local repo (pulled out of pristine dir); fixed trailing comma i…
2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
05d63ab2 »
2008-09-17 initial move to github
3 <plist version="1.0">
4 <dict>
5 <key>content</key>
6 <string>\$.ajaxSetup({
9cc708db »
2010-02-22 cleaned up all of the ajax methods and a bunch of selectors
7 url: '${1:/path/to/file}',
8 ${2/(.+)/(?1: type\: ':)/}${2:POST}${2/(.+)/(?1:',
9 :)/}${3/(.+)/(?1: dataType\: ':)/}${3:xml/html/script/json/jsonp}${3/(.+)/(?1:',
10 :)/}${4/(.+)/(?1: data\: {:)/}${4:param1: 'value1'}${4/(.+)/(?1:},
11 :)/}${5/(.+)/(?1: complete\: function\(xhr, textStatus\) {
12 :)/}${5://called when complete}${5/(.+)/(?1:
13 },
14 :)/}${6/(.+)/(?1: success\: function\(data, textStatus, xhr\) {
15 :)/}${6://called when successful}${6/(.+)/(?1:
16 },
17 :)/}${7/(.+)/(?1: error\: function\(xhr, textStatus, errorThrown\) {
18 :)/}${7://called when there is an error}
19 ${7/(.+)/(?1: }
05d63ab2 »
2008-09-17 initial move to github
20 :)/}});
21 $0</string>
22 <key>name</key>
23 <string>$.ajaxSetup</string>
24 <key>scope</key>
25 <string>source.js.jquery</string>
26 <key>tabTrigger</key>
27 <string>$.ajaxSetup</string>
28 <key>uuid</key>
1cb94a3f »
2008-10-06 cleaned up a bunch of ajax snippets; added a couple utility snippets;…
29 <string>0C097CE1-C273-4FBF-9852-8E6454E84287</string>
05d63ab2 »
2008-09-17 initial move to github
30 </dict>
31 </plist>
Something went wrong with that request. Please try again.