Skip to content

Instantly share code, notes, and snippets.

@alexspeller
Created June 16, 2013 22:52
Show Gist options
  • Save alexspeller/5793760 to your computer and use it in GitHub Desktop.
Save alexspeller/5793760 to your computer and use it in GitHub Desktop.
App.SVGView = Em.View.extend({
didInsertElement: function() {
this.render();
},
redrawObserver: function() {
this.render();
}.property('data1', 'data2'),
render: function() {
d3.select('#' + this.elementID).append('text');
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment