Skip to content
Permalink
Browse files

Update Node constructor

  • Loading branch information...
harlantwood committed Mar 17, 2019
1 parent add006d commit e88fb8b4da77f4e40a7f2d1a01a3b5a66635bf2a
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/node.coffee
@@ -5,8 +5,8 @@ Element = require './element'

class Node extends Element

constructor: (@attrs={}, args={}) ->
@setKey @args
constructor: (@attrs={}, @sphere) ->
@setKey()

id: -> @attrs.id or @_id

0 comments on commit e88fb8b

Please sign in to comment.
You can’t perform that action at this time.