This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathframe.json
93 lines (93 loc) · 2.59 KB
/
frame.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"@metadata": {
"name": "pickle",
"comment": "The library is only partly imported as default, full load is \"bootstrapped\", and it can not be properly identified. It is nearly always identified by its access points, but together with \"pickle\" it is pretty safe to assume they can be used as prefix.",
"authors": [
"Jeblad"
]
},
"pickle 001": {
"prefix": "pickle.describe( arg[, ...] )",
"body": [
"return describe( ${1:arg${2:, ${3:...}} )$0"
],
"description": "Bootstrap pickle, create frame describe, add varargs, and chain on return.\n"
},
"pickle 002": {
"prefix": "pickle.describe { subject }",
"body": [
"return describe { ${1:subject} }$0"
],
"description": "Bootstrap pickle, create frame describe, add subject, and chain on return.\n"
},
"pickle 003": {
"prefix": "pickle.describe \"message\"",
"body": [
"return describe \"${1:message}\" $0"
],
"description": "Bootstrap pickle, create frame describe, add message, and chain on return.\n"
},
"pickle 004": {
"prefix": "pickle.context( arg[, ...] )",
"body": [
"context( ${1:arg${2:, ${3:...}} )$0"
],
"description": "Create frame context, add varargs, and chain on return.\n"
},
"pickle 005": {
"prefix": "pickle.context { subject }",
"body": [
"context { ${1:subject} }$0"
],
"description": "Create frame context, add subject, and chain on return.\n"
},
"pickle 006": {
"prefix": "pickle.describe \"message\"",
"body": [
"context \"${1:message}\" $0"
],
"description": "Create frame context, add message, and chain on return.\n"
},
"pickle 007": {
"prefix": "pickle.it( arg[, ...] )",
"body": [
"it( ${1:arg${2:, ${3:...}} )$0"
],
"description": "Create frame it, add varargs, and chain on return.\n"
},
"pickle 008": {
"prefix": "pickle.it { subject }",
"body": [
"it { ${1:subject} }$0"
],
"description": "Create frame it, add subject, and chain on return.\n"
},
"pickle 009": {
"prefix": "pickle.it \"message\"",
"body": [
"it \"${1:message}\" $0"
],
"description": "Create frame it, add message, and chain on return.\n"
},
"pickle 010": {
"prefix": "pickle.frame { subject }",
"body": [
" { ${1:subject} } $0"
],
"description": "Add subject to current frame, and chain on return.\n"
},
"pickle 011": {
"prefix": "pickle.frame \"message\"",
"body": [
" \"${1:message}\" $0"
],
"description": "Add message to current frame, and chain on return.\n"
},
"pickle 012": {
"prefix": "pickle.frame (function() end)",
"body": [
" (function() $0 end)"
],
"description": "Add fixture to current frame, and chain on return.\n"
}
}