1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated plugins

This commit is contained in:
amix
2014-01-07 00:25:41 +00:00
parent 2a0e2ddc13
commit b03dc8e510
12 changed files with 107 additions and 31 deletions

View File

@ -93,3 +93,17 @@ snippet req
# Export
snippet exp
${0:root} = exports ? this
snippet ajax
$.ajax
url: "${1:mydomain.com/url}"
type: "${2:POST}"
dataType: "${3:xml/html/script/json}"
data: ${4:data}
complete: (jqXHR, textStatus) ->
${5:// callback}
success: (data, textStatus, jqXHR) ->
${6:// success callback}
error: (jqXHR, textStatus, errorThrown) ->
${0:// error callback}