Explorar el Código

kinda working now.

Evan You hace 13 años
padre
commit
952ab433a5
Se han modificado 3 ficheros con 2 adiciones y 6 borrados
  1. 2 4
      TODO.md
  2. 0 1
      dev.html
  3. 0 1
      src/directives.js

+ 2 - 4
TODO.md

@@ -1,6 +1,4 @@
+- ? separate scope data and prototype methods // think about this
 - repeat directive by watching an array
 - make Seeds compositable
-- parse textNodes
-- [OK] formatter arguments
-- Seed.extend()
-- options to pass in templates to Seed.create()
+- parse textNodes

+ 0 - 1
dev.html

@@ -29,7 +29,6 @@
 
 			// define a seed
 			var Todos = Seed.extend({
-                id: 0,
 		        changeMessage: function () {
 		            this.scope['msg.wow'] = 'hola'
 		        },

+ 0 - 1
src/directives.js

@@ -26,7 +26,6 @@ module.exports = {
                 this.el.removeEventListener(event, handlers[event])
             }
             if (handler) {
-                handler = handler.bind(this.el)
                 this.el.addEventListener(event, handler)
                 handlers[event] = handler
             }