Merge pull request #80 from edonaldson/patch-3

Fix missing parenthesis
This commit is contained in:
Walter Higgins 2013-07-21 11:48:26 -07:00
commit 0e612840e6

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);