Sha256: ba17a36263480f8a72851af3f391a2a9758ef90e0a4c9c53061fbc4aaf429f9b
Contents?: true
Size: 379 Bytes
Versions: 9
Compression:
Stored size: 379 Bytes
Contents
class Plasticine constructor: () -> @visuals = [] if @d3IsLoaded() $('div.plasticine').each (i, visual) => switch $(visual).data('visual') when 'column' then @visuals.push new PlasticineColumn $(visual) when 'line' then @visuals.push new PlasticineLine $(visual) d3IsLoaded: () -> if d3? then true else false $ -> new Plasticine
Version data entries
9 entries across 9 versions & 1 rubygems