Skip to content

Commit

Permalink
uses new deep object assign from d3plus-common for axisConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Nov 22, 2016
1 parent 8727d1c commit b86cac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Priestley.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {nest} from "d3-collection";
import {scalePoint} from "d3-scale";

import {Axis, date} from "d3plus-axis";
import {accessor, elem} from "d3plus-common";
import {accessor, assign, elem} from "d3plus-common";
import {Rect} from "d3plus-shape";
import {Viz} from "d3plus-viz";

Expand Down Expand Up @@ -130,7 +130,7 @@ export default class Priestley extends Viz {
@param {Object} [*value*]
*/
axisConfig(_) {
return arguments.length ? (this._axisConfig = Object.assign(this._axisConfig, _), this) : this._axisConfig;
return arguments.length ? (this._axisConfig = assign(this._axisConfig, _), this) : this._axisConfig;
}

/**
Expand Down

0 comments on commit b86cac8

Please sign in to comment.