Fix missing parenthesis

This commit is contained in:
edonaldson 2013-07-04 12:06:25 -05:00
parent 9ee6e229f0
commit 74e6f3f1cc

View file

@ -64,9 +64,9 @@ plugin("fireworks", {
var c1 = getColor(r1i);
var c2 = getColor(r2i);
var effectBuilder = FireworkEffect.builder()
.flicker(Math.round(Math.random()==0)
.flicker(Math.round(Math.random())==0)
.withColor(c1)
.withFade(c2).trail(Math.round(Math.random()==0);
.withFade(c2).trail(Math.round(Math.random())==0);
effectBuilder['with'](type);
var effect = effectBuilder.build();
fwm.addEffect(effect);