Fixing list creation
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 11 Jul 2013 10:38:21 +0000 (12:38 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 11 Jul 2013 10:38:21 +0000 (12:38 +0200)
commitb8a8cc88e8c86aa06660cc12fe289524bc31c48b
tree9a970f2acccd98f61fc60827c6d012377b031aad
parentf0599fd59924ae14e4f4e291553be88bae3f1fa0
Fixing list creation

- Array.forEach has no elegant way of breaking from it, so we
use Array.some instead
- checking if iterating over params.element2 was failing on
text elements
modules/documentCanvas/canvas/canvas.js
modules/documentCanvas/canvas/canvas.test3.js