Skip to content

Commit

Permalink
downgraded to es5
Browse files Browse the repository at this point in the history
  • Loading branch information
vstirbu committed Sep 30, 2016
1 parent 659482a commit a7dd74e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ var stampit = require('stampit');
var _ = require('lodash');
var EventEmitter = require('events').EventEmitter;

var AssignFirstArgument = stampit({ init(opts) {
Object.assign(this, opts);
}});
var AssignFirstArgument = stampit({
init: function init(opts) {
Object.assign(this, opts);
}
});

var StateMachine = stampit({
props: {
Expand Down

0 comments on commit a7dd74e

Please sign in to comment.