 
 	@define "style",
 		get: -> @_element.style
-		set: (value) -> 
+		set: (value) ->
 			_.extend @_element.style, value
 			@emit "change:style"
 
 	@define "html",
-		get: -> 
+		get: ->
 			@_elementHTML?.innerHTML
 
 		set: (value) ->


	addSubLayer: (layer) ->
		layer.superLayer = @
	
	removeSubLayer: (layer) ->
		
		if layer not in @subLayers
			return
		
		layer.superLayer = null

	subLayersByName: (name) ->

				layer.emit "change:subLayers", {added:[@], removed:[]}
			else
				@_insertElement()

			# Set the superlayer
			@_superLayer = layer

			# Place this layer on top of it's siblings
			@bringToFront()

			@emit "change:superLayer"

	superLayers: ->
