-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjavascript.json
50 lines (50 loc) · 1.48 KB
/
javascript.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"Insert jslint: angular directives": {
"prefix": "jslint declaration angular",
"body": [
"/*jslint this, white, browser */",
"/*global _, angular, jQuery, Audio5js */"
],
"description": "Insert jslint: angular directives"
},
"Insert jslint: node directives": {
"prefix": "jslint declaration node",
"body": [
"/*jslint node: true */"
],
"description": "Insert jslint: node directives"
},
"Insert module: strict, anonymous": {
"prefix": "module",
"body": [
"(function () {",
" \"use strict\";",
"",
" ${0:${TM_SELECTED_TEXT}}",
"",
"} ());"
],
"description": "Insert module: strict, anonymous"
},
"Insert module: strict, anonymous, jQuery": {
"prefix": "module jQuery",
"body": [
"(function ($) {",
" \"use strict\";",
"",
" ${0:${TM_SELECTED_TEXT}}",
"",
"} (jQuery));"
],
"description": "Insert module: strict, anonymous, jQuery"
},
"Insert underscore: default template settings": {
"prefix": "underscore templateSettings",
"body": [
"_.templateSettings = {",
" interpolate: /\\\\{\\\\{(.+?)\\\\}\\\\}/g",
"};"
],
"description": "Insert underscore: default template settings"
}
}