Sha256: af3a3f4dd35a0b59db0fbaeef103fc1c7ab668c4cbd9f0cceb0b217e5223010a

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

<div id='vis-<%= id %>'></div>
<script>
(function(){
    var render = function(){
        var model = <%= model %>
        Nyaplot.core.parse(model, '#vis-<%= id %>');
    };
    if(window['Nyaplot']==undefined){
        window.addEventListener('load_nyaplot', render, false);
	return;
    } else {
       render();
    }
})();
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nyaplot-0.1.4 lib/nyaplot/templates/iruby.erb
nyaplot-0.1.3 lib/nyaplot/templates/iruby.erb
nyaplot-0.1.2 lib/nyaplot/templates/iruby.erb
nyaplot-0.1.1 lib/nyaplot/templates/iruby.erb
nyaplot-0.1.0 lib/nyaplot/templates/iruby.erb