Sha256: ff7a4acb7e444f00ec8683d28f6c99384314679313490391177e5aeac9b4b5d3
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 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) d3IsLoaded: () -> if d3? then true else false $ -> new Plasticine
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
plasticine-1.1.1 | app/assets/javascripts/plasticine/base.coffee |
plasticine-1.1.0 | app/assets/javascripts/plasticine/base.coffee |