diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-03-17 19:41:47 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-03-17 19:41:47 +0000 |
| commit | dca50ccd84f91a7db2a41a59e15b3ed95b2c3f46 (patch) | |
| tree | 2b12394e159027cc8368f076f259f714e347445f /lib/options-reader.js | |
| parent | 402125e641eec86ad771caa4b5ad9db657e5fcd9 (diff) | |
Remove dependency on xtend
Diffstat (limited to 'lib/options-reader.js')
| -rw-r--r-- | lib/options-reader.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/options-reader.js b/lib/options-reader.js index 687eb92..015e612 100644 --- a/lib/options-reader.js +++ b/lib/options-reader.js @@ -1,7 +1,6 @@ exports.readOptions = readOptions; -var extend = require("xtend"); var _ = require("underscore"); var style = require("./style-reader").readStyle; @@ -29,7 +28,8 @@ var standardOptions = exports._standardOptions = { function readOptions(options) { options = options || {}; - var fullOptions = extend(standardOptions, options); + var fullOptions = {} + _.extend(fullOptions, standardOptions, options); fullOptions.styleMap = readStyleMap(options) .concat(fullOptions.includeDefaultStyleMap ? standardOptions.styleMap : []); |
