 #			console.log("module included: ", @, module)
 
 
+	ignoredAttributes = {parent: true, id: true, name: true}
 	class View extends Node
-		skipStyle= {parent: true, id: true, name: true}
-
 		constructor: (el, options = {}) ->
 			if (el instanceof HTMLElement and el.$view)
 				console.warn 'already bound view', el.$view, el

#			console.log 'new view', el, options, @

		setAttribute: (name, value, skipsend) ->
			if (skipsend or skipStyle[name] or value == this[name])
#				console.log 'skipping style', name, this[name], value, @
			else
				@sprite.setStyle(name, value)

	class Class
		constructor: (el, options = {}) ->
			name = options.name
			for ignored of ignoredAttributes
				delete options[ignored]
				
			body = el.innerHTML
			el.innerHTML = ''
#			console.log('new class', name, options)
