Quellcode durchsuchen

formatting, done for the day

Evan You vor 13 Jahren
Ursprung
Commit
7ba0c8096d
3 geänderte Dateien mit 16 neuen und 14 gelöschten Zeilen
  1. 11 11
      README.md
  2. 3 1
      TODO.md
  3. 2 2
      src/binding.js

+ 11 - 11
README.md

@@ -8,8 +8,6 @@
 - 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.
 
-[Doc under construction...]
-
 ### Browser Support
 
 - Chrome 8+
@@ -20,23 +18,25 @@
 - Android browser 3.0+
 - iOS Safari 5.0+
 
-### Template
+### [Doc under construction...]
+
+#### Template
 
-### Controller
+#### Controller
 
 - Nested Controllers and accessing parent scope
 - Controller inheritance
 
-### Data
+#### Data
 
-### Data Binding
+#### Data Binding
 
-### Event Handling
+#### Event Handling
 
-### Filters
+#### Filters
 
-### Computed Properties
+#### Computed Properties
 
-### Custom Filter
+#### Custom Filter
 
-### Custom Directive
+#### Custom Directive

+ 3 - 1
TODO.md

@@ -1,4 +1,6 @@
-- fix $dump() for nested properties
+- grunt release task
+    - set version in bower/package/component.json
+    - wrap dist/seed.js in closure and expose Seed to window
 - sd-with
 - standarized way to reuse components (sd-component?)
 - plugins: seed-touch, seed-storage, seed-router

+ 2 - 2
src/binding.js

@@ -15,8 +15,8 @@ function Binding (seed, key) {
     var path = key.split('.')
     this.set(getNestedValue(seed.scope, path))
     this.def(seed.scope, path)
-    this.instances    = []
-    this.subs   = []
+    this.instances = []
+    this.subs = []
     this.deps = []
 }