Skip to content

Commit bdfb77a

Browse files
committed
Merge pull request #76 from hybridgroup/master
Use object-assign module as replacement for es6-shim
2 parents 70155fa + bb7000b commit bdfb77a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/firmata.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
require("es6-shim");
1+
var assign = require("object-assign");
2+
23
/**
34
* @author Julian Gautier
45
*/
@@ -366,7 +367,7 @@ var Board = function(port, options, callback) {
366367
}
367368

368369
var board = this;
369-
var settings = Object.assign({}, defaults, options);
370+
var settings = assign({}, defaults, options);
370371

371372
var ready = function() {
372373
this.emit("ready");

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"browser-serialport": "*",
28-
"es6-shim": "^0.20.2",
28+
"object-assign": "^1.0.0",
2929
"serialport": ">=0.7.5"
3030
},
3131
"optionalDependencies": {},

0 commit comments

Comments
 (0)