       @datgui = null
 
   commonProps: () ->
+    
+    ps = {}
+    cps = new Array()
 
     addProp = (d, k, v) ->
       if !d[k]?



class PropsEditor
  constructor: () ->
    @elements = []
    @cprops = {}


      else
        d[k].push(v)

    addProps = (e) =>
      for k, v of e.props
        continue if k == 'position'
        continue if k == 'design'
        continue if k == 'endpoints'
        continue if k == 'name' and @elements.length > 1
        addProp(ps, k, v)

    addProps(e) for e in @elements

    addCommon = (k, v, es) ->
      if v.length == es.length then cps[k] = v
      true

    addCommon(k, v, @elements) for k, v of ps

