Skip to content

Commit f0b3f70

Browse files
committed
annotate
1 parent d090869 commit f0b3f70

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

snippets/language-jruby-art.cson

+19-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
Background:
33
prefix: 'bkg'
44
body: 'background ${1:int}'
5+
description: 'Method expects one argument'
6+
descriptionMoreURL: 'https://atom.io/packages/language-jruby-art'
57

68
web_colors_to_colors:
79
prefix: 'web'
810
body: 'web_to_color_array(${1:string})'
9-
11+
description: 'Method expects array of String'
1012
Bare:
1113
prefix: 'bare'
1214
body: '''
@@ -24,6 +26,8 @@
2426
${4:string}
2527
end
2628
'''
29+
description: 'A bare sketch template'
30+
descriptionMoreURL: 'https://atom.io/packages/language-jruby-art'
2731

2832
Propane_Sketch:
2933
prefix: 'prsk'
@@ -49,7 +53,8 @@
4953
5054
${1:string}.new
5155
'''
52-
56+
description: 'Creates a propane sketch'
57+
descriptionMoreURL: 'https://ruby-processing.github.io/propane/atom-propane/'
5358

5459
ArcBall:
5560
prefix: 'arcball'
@@ -151,10 +156,22 @@
151156
pop_matrix
152157
'''
153158

159+
Constrain:
160+
prefix: 'constrain'
161+
body: 'constrain(${1:any}, ${2:any}, ${3:any})'
162+
154163
Map1D:
155164
prefix: 'm1d'
156165
body: 'map1d(${1:string}, ${2:number}..${3:number}, ${4:number}..${5:number})'
157166

158167
Constrained_Map:
159168
prefix: 'constrain_map'
160169
body: 'constrained_map(${1:string}, ${2:number}..${3:number}, ${4:number}..${5:number})'
170+
171+
Norm:
172+
prefix: 'norm'
173+
body: 'norm(${1:any}, ${2:any}, ${3:any})'
174+
175+
Norm_Strict:
176+
prefix: 'strict'
177+
body: 'norm_strict(${1:any}, ${2:any}, ${3:any})'

0 commit comments

Comments
 (0)