Skip to content

Commit

Permalink
Make d3-support compatible with pre-1.13.9 versions of Ember
Browse files Browse the repository at this point in the history
Due to emberjs/ember.js#12138 the library doesn't currently support older versions of ember
  • Loading branch information
jonnedeprez committed Oct 21, 2015
1 parent baf5e4a commit 1216f4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addon/mixins/d3-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const GraphicSupport = Ember.Mixin.create({
call() {},

didReceiveAttrs() {
this._super(...arguments);
var selection = this.get('select');

if (selection && !this.isDestroying && this.get('requiredProperties').map(prop => Boolean(!!this.get(prop))).reduce(((prev, cur) => prev && cur), true)) {
Expand Down

0 comments on commit 1216f4d

Please sign in to comment.