Browse Source

readme, format

Evan You 13 years ago
parent
commit
b628893204
2 changed files with 10 additions and 9 deletions
  1. 2 1
      README.md
  2. 8 8
      src/filters.js

+ 2 - 1
README.md

@@ -1,10 +1,11 @@
 # Seed (WIP)
 ## a mini MVVM framework
 
-- 5kb gzipped!
+- 6kb gzipped!
 - DOM based templates with precise and efficient manipulation
 - POJSO (Plain Old JavaScript Objects) Models FTW - even nested objects.
 - Auto dependency extraction for computed properties.
+- computed properties with dynamic context
 - Auto event delegation on repeated items.
 - [Component](https://github.com/component/component) based, can be used as a CommonJS module but can also be used alone.
 

+ 8 - 8
src/filters.js

@@ -1,12 +1,12 @@
 var keyCodes = {
-    enter: 13,
-    tab: 9,
-    'delete': 46,
-    up: 38,
-    left: 37,
-    right: 39,
-    down: 40,
-    esc: 27
+    enter    : 13,
+    tab      : 9,
+    'delete' : 46,
+    up       : 38,
+    left     : 37,
+    right    : 39,
+    down     : 40,
+    esc      : 27
 }
 
 module.exports = {