diff --git a/snippets.cson b/snippets.cson new file mode 100644 index 0000000..1f74923 --- /dev/null +++ b/snippets.cson @@ -0,0 +1,24 @@ +'.source.js': + 'jquery click listener': + 'prefix': 'click jquery' + 'body': """ + $('$1').click(function() { + + }); + """ + + 'jquery post request': + 'prefix': 'post jquery' + 'body': """ + $.post('${1:src}','${2:action}',function(data){ + + },'text'); + """ + + 'jquery onready listener': + 'prefix': 'ready jquery' + 'body': """ + $(document).ready(function() { + + }); + """