Commit Graph

150 Commits

Author SHA1 Message Date
Evan You 5f21eed2c9 Fix inline partial parentNode problem
Directives inside inline partials would get the fragment as the parentNode
if they are compiled before the partial is appended to the correct parentNode.
Therefore keep the reference of the fragment's childNodes, append it,
then compile afterwards fixes the problem.
2014-01-16 17:04:49 -05:00
Evan You 7c16f76dca unit runner tabs -> spaces 2014-01-15 15:32:24 -05:00
Evan You 08ba942b88 fix expressions on repeated items 2014-01-14 23:40:33 -05:00
Evan You 0dcf28eb63 add saucelabs! 2014-01-14 21:56:49 -05:00
Evan You 412937727a use karma for unit tests 2014-01-13 14:37:15 -05:00
Evan You 04249e320a Component Change
- `v-component` now takes only a string value (the component id)
- `Vue.component()` now also registers the component id as a custom element
- add new directive: `v-with`, which can be used in combination with `v-component` or standalone
2014-01-12 15:37:50 -05:00
Evan You bd835ac276 functional test fix for travis 2014-01-10 18:32:55 -05:00
Evan You 212990a3bb make exp-parser deal with cases where strings contain variable names 2014-01-08 11:40:31 -05:00
Evan You 20def90219 remove v-style and v-visible 2014-01-06 16:47:13 -05:00
Evan You a2e287f0b9 add support for interpolation in html attributes 2014-01-06 13:27:19 -05:00
Evan You 354f559215 vm.$emit() is now self only, propagating events now triggered by $dispatch() 2014-01-06 11:42:36 -05:00
Evan You c71a9085a7 Async fixes
- vm.$watch is now async
- v-model now unlocks async (so it is properly locked during async update)
- expose Vue.nextTick
2014-01-01 20:26:51 -05:00
Evan You 6cbb9fa49b improve code coverage in unit tests 2013-12-30 12:04:55 -05:00
Evan You 7fc537ad5a fix functional tests for batcher 2013-12-24 16:55:29 -05:00
Evan You c7b2d9ca34 nextTick phantomjs fix, unit tests for batcher, config() api addition 2013-12-24 15:34:22 -05:00
Evan You 72e8e73b2e organize grunt tasks 2013-12-24 12:55:14 -05:00
Evan You 789adffa2f unit test pass for async batch / functional test expression pass 2013-12-24 02:30:03 -05:00
Evan You 5c73a378ac async batch update - first pass 2013-12-24 02:03:01 -05:00
Evan You a1582e4904 allow child VMs $data to be swapped 2013-12-23 19:48:14 -05:00
Evan You 7c1d196355 API change: split `scope` into `data` and `methods` 2013-12-23 14:47:51 -05:00
Evan You c75aa42d77 simplify v-component usage 2013-12-23 14:05:01 -05:00
Evan You cd90e647a7 simplify v-repeat syntax 2013-12-23 14:01:00 -05:00
Evan You 93b0325ed8 new observe method tests passed 2013-12-23 05:31:02 -05:00
Evan You 14d8ce24a3 compiler rewrite - observe scope directly and proxy access through vm 2013-12-23 04:54:02 -05:00
Evan You 309ea3d05f unit test for v-component 2013-12-22 02:34:30 -05:00
Evan You 216e398b22 observer rewrite 2013-12-21 01:05:39 -05:00
Evan You 070d5c0e58 dom method callbacks should be async. 2013-12-20 11:57:46 -05:00
Evan You 837b2d680a add callback to dom methods 2013-12-20 11:33:48 -05:00
Evan You f9bebc710b fix enteredView/leftView 2013-12-19 01:45:18 -05:00
Evan You 9a132a9637 enteredView/leftView hooks & test 2013-12-19 01:00:34 -05:00
Evan You 7cf1788160 unit tests for vm DOM methods 2013-12-19 00:34:59 -05:00
Evan You ea34d5692a hook inheritance 2013-12-19 00:20:00 -05:00
Evan You fede1eb80e test stubs 2013-12-18 10:36:24 -05:00
Evan You 48e68c10e9 execHook 2013-12-18 10:04:55 -05:00
Evan You d132fdc500 DOM convenience methods 2013-12-18 01:36:58 -05:00
Evan You 628c42cc9f component refactor 2013-12-18 00:45:55 -05:00
Evan You e04553a0a4 lifecycle hooks 2013-12-17 01:38:01 -05:00
Evan You 28a2c68ad4 should not observer other Vue instances 2013-12-16 19:39:52 -05:00
Evan You 218557cdec 0.6.0 - rename to VueJS 2013-12-07 19:32:17 -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 27309404ac revert back to use comma as exp splitter - wrap exp with () to escape 2013-12-05 00:37:57 -05:00
Evan You 33fb50f0d1 functional test for custom elements 2013-12-04 20:52:06 -05:00
Evan You 3f60051b57 unit tests for custom element 2013-12-04 20:45:31 -05:00
Evan You 19d15ecf8d Improvements to observed array extension methods
- mutateFilter() is now remove(fn)
- replace() now also takes a function argument
- tests for above
- fix unit tests for IE9
2013-12-04 20:17:38 -05:00
Evan You c12f7ab360 More robust directive parsing
- Changed the char for splitting expressions from "," to "&"
- Regex for matching the key now takes into account quoted strings and escaped chars
- Added tests for the above special cases
2013-12-04 17:52:26 -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 0419b05535 add `replace` option & tests 2013-11-23 17:14:28 -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