Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed Mar 14, 2018
1 parent 4e7352e commit 0073a49
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/hemera/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1388,11 +1388,7 @@ class Hemera extends EventEmitter {
* @memberOf Hemera
*/
createContext() {
const self = this

const hemera = Object.create(self)

return hemera
return Object.create(this)
}

/**
Expand Down

0 comments on commit 0073a49

Please sign in to comment.