aboutsummaryrefslogtreecommitdiff
path: root/js/data/pi
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-06 14:36:51 -0800
committerValerio Virgillito2012-02-06 14:36:51 -0800
commit191898aaa63b357b5709b94cd38e15a258a9d95f (patch)
tree7fa44f2ec5042b942f37151bbfb67f875680f040 /js/data/pi
parent08eafdff4ec25d34e2e76b386145a9fd122431dc (diff)
parent07e5839e0ec6da2eb71056ff18b90226af213eef (diff)
downloadninja-191898aaa63b357b5709b94cd38e15a258a9d95f.tar.gz
Merge branch 'master' into components
Diffstat (limited to 'js/data/pi')
-rw-r--r--js/data/pi/pi-data.js28
1 files changed, 16 insertions, 12 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js
index de5cd34d..dd75e255 100644
--- a/js/data/pi/pi-data.js
+++ b/js/data/pi/pi-data.js
@@ -23,13 +23,13 @@ exports.PiData = Montage.create( Montage, {
23 { 23 {
24 type : "color", 24 type : "color",
25 id : "colorStroke", 25 id : "colorStroke",
26 prop: "border-color", 26 prop: "border",
27 label : "Stroke" 27 label : "Stroke"
28 }, 28 },
29 { 29 {
30 type : "color", 30 type : "color",
31 id : "colorFill", 31 id : "colorFill",
32 prop: "background-color", 32 prop: "background",
33 divider : true 33 divider : true
34 } 34 }
35 ], 35 ],
@@ -102,11 +102,13 @@ exports.PiData = Montage.create( Montage, {
102 { 102 {
103 type : "color", 103 type : "color",
104 id : "colorStroke", 104 id : "colorStroke",
105 prop: "border",
105 label : "Stroke" 106 label : "Stroke"
106 }, 107 },
107 { 108 {
108 type : "color", 109 type : "color",
109 id : "colorFill", 110 id : "colorFill",
111 prop: "background",
110 divider : true 112 divider : true
111 } 113 }
112 ], 114 ],
@@ -221,13 +223,13 @@ exports.PiData = Montage.create( Montage, {
221 { 223 {
222 type : "color", 224 type : "color",
223 id : "colorStroke", 225 id : "colorStroke",
224 prop: "border-color", 226 prop: "border",
225 label : "Stroke" 227 label : "Stroke"
226 }, 228 },
227 { 229 {
228 type : "color", 230 type : "color",
229 id : "colorFill", 231 id : "colorFill",
230 prop: "background-color", 232 prop: "background",
231 divider : true 233 divider : true
232 } 234 }
233 ], 235 ],
@@ -279,13 +281,13 @@ exports.PiData = Montage.create( Montage, {
279 [ 281 [
280 { 282 {
281 type : "color", 283 type : "color",
282 id : "stroke", 284 prop: "border",
283 prop : "stroke" 285 id : "stroke"
284 }, 286 },
285 { 287 {
286 type : "color", 288 type : "color",
289 prop: "background",
287 id : "fill", 290 id : "fill",
288 prop : "fill",
289 divider : true 291 divider : true
290 } 292 }
291 ], 293 ],
@@ -399,12 +401,13 @@ exports.PiData = Montage.create( Montage, {
399 [ 401 [
400 { 402 {
401 type : "color", 403 type : "color",
402 id : "stroke", 404 prop: "border",
403 prop : "stroke" 405 id : "stroke"
404 }, 406 },
405 { 407 {
406 type : "color", 408 type : "color",
407 id : "fill", 409 id : "fill",
410 prop: "background",
408 visible : false, 411 visible : false,
409 divider : true 412 divider : true
410 } 413 }
@@ -451,13 +454,13 @@ exports.PiData = Montage.create( Montage, {
451 [ 454 [
452 { 455 {
453 type : "color", 456 type : "color",
454 id : "stroke", 457 prop: "border",
455 prop : "stroke" 458 id : "stroke"
456 }, 459 },
457 { 460 {
458 type : "color", 461 type : "color",
462 prop: "background",
459 id : "fill", 463 id : "fill",
460 prop : "fill",
461 divider : true 464 divider : true
462 } 465 }
463 ], 466 ],
@@ -467,6 +470,7 @@ exports.PiData = Montage.create( Montage, {
467 id : "strokeSize", 470 id : "strokeSize",
468 prop : "strokeSize", 471 prop : "strokeSize",
469 label : "Stroke", 472 label : "Stroke",
473 valueMutator: parseFloat,
470 min : 0, 474 min : 0,
471 max : 100, 475 max : 100,
472 value : 1, 476 value : 1,