Commit Graph

27 Commits

Author SHA1 Message Date
Evan You 7c1d196355 API change: split `scope` into `data` and `methods` 2013-12-23 14:47:51 -05:00
Evan You cd90e647a7 simplify v-repeat syntax 2013-12-23 14:01:00 -05:00
Evan You ea34d5692a hook inheritance 2013-12-19 00:20:00 -05:00
Evan You 628c42cc9f component refactor 2013-12-18 00:45:55 -05:00
Evan You cdd07162e1 0.6.0 - rename to Vue 2013-12-07 17:29:17 -05:00
Evan You 016842cf48 functional test for nested sd-repeat 2013-12-06 18:50:58 -05:00
Evan You 33fb50f0d1 functional test for custom elements 2013-12-04 20:52:06 -05:00
Evan You 0d728a26bc 0.5.2 patch: fix computed property $set / utils.bind() 2013-11-23 23:34:09 -05:00
Evan You 795d6b985f conditional dependency tracking 2013-11-23 12:31:19 -05:00
Evan You 4e6ad72709 fix input event handler for Chinese input methods 2013-11-19 01:08:02 -05:00
Evan You 7888d05dc1 Tests
- unit tests for Observer:
  - unobserve()
  - ensurePath()
  - ensurePaths()
  - Multiple observers
- unit test for sd-model:
  - should only lock update if it has no filters
- functional test for sd-model in validation.js:
  - should remember and restore selection position
    when it has filters
- functional test for Observer.ensurePaths():
  - should allow setting a nested scope object to {}
2013-11-17 20:08:20 -05:00
Evan You a8e12f8ccd Firebase example + bug fixes
- move ensurePath() to Observer.js
- add Observer.ensurePaths(), which deals with the situation
  when a scope object with nested values is given a new value
  with incomplete nested structure. e.g. this.val = {}
- fix Directive argument regex
- sd-model: no longer locks during set() so filters work on
  input fields
- sd-repeat: handles undefined update, also fix transition
- utils.attr now takes additional `noRemove` argument
- ViewModel.$emit now also triggers event on itself
2013-11-17 02:04:29 -05:00
Evan You bb7300ded4 functional test for routing 2013-11-15 13:59:00 -05:00
Evan You 15d54e9fdc - add functional test for validation using filters
- filter functions now have a `this` context of the VM calling it.
2013-11-15 13:14:38 -05:00
Evan You 1270139b55 transition classes now defaults to sd-enter and sd-leave, also configurable. 2013-11-15 12:43:21 -05:00
Evan You 30784b5756 expressions
- add functional test case for sd-on expression handlers
- invalid inline expressions: the error will be captured and warning thrown
- add unit test case for invalid inline expressions
- utils.warn() now always gets thrown by default
- add `silent` config option to suppress warnings
2013-11-15 11:46:24 -05:00
Evan You a7d184e44f transition class can take format of "enter,leave" 2013-11-15 00:22:17 -05:00
Evan You 5ad8edeb08 change sd-viewmodel to sd-component, allow direct use of Objects in Seed.component() 2013-11-13 21:51:51 -05:00
Evan You 09377185ce functional tests for transition 2013-11-13 17:43:31 -05:00
Evan You 388dd84a6f fix bugs for todomvc (sd-if + sd-repeat) 2013-11-05 14:57:30 -05:00
Evan You 18530c7ff2 functional test for todomvc 2013-10-28 20:59:18 -04:00
Evan You 7a0bdc9971 functional tests + fix $index binding 2013-10-28 13:22:16 -04:00
Evan You 495d799c3d functional tests for forms and encapsulation 2013-10-25 18:22:22 -04:00
Evan You c83ce1e4a8 start test for todomvc 2013-10-24 20:00:59 -04:00
Evan You c133e4a9c1 test for simple directive 2013-10-24 19:44:02 -04:00
Evan You 8104056d27 functional tests for template and expression 2013-10-24 19:33:19 -04:00
Evan You 412873f5d8 restructure for functional tests, use CasperJS 2013-10-23 18:19:23 -04:00