Commit Graph

1359 Commits

Author SHA1 Message Date
Evan You
b2b9d1c272 fix property reference proxy check for hand-written render functions 2016-11-23 17:46:41 -05:00
Evan You
adf33c18eb [release] 2.1.1 2016-11-23 16:00:42 -05:00
Evan You
4ee9258402 [build] 2.1.1 2016-11-23 16:00:41 -05:00
(´・ω・`)
fce3f04a44 Ensure Vue instance's vnode and element is up to date (#4299)
* fix #4284, recursively update vnode element

* fix #4284, ensure vm's vnode is up to date

* add test for edge case
2016-11-23 13:18:52 -05:00
Evan You
9d0bc9768b fix sfc parser special tag check for nested templates (fix #4289) 2016-11-23 13:15:09 -05:00
Evan You
fa61c0042c fix proxy missing property detection when render function does not use with 2016-11-23 12:57:25 -05:00
Evan You
1a7b910feb inherit child reference from old node when patching static nodes (fix #4288) 2016-11-23 09:42:52 -05:00
Evan You
f4647b01f8 [release] 2.1.0 2016-11-22 11:15:07 -05:00
Evan You
1c2e858d9f [build] 2.1.0 2016-11-22 11:15:07 -05:00
Evan You
99251ec59e add rule of thumb to dist file readme 2016-11-22 10:11:12 -05:00
katashin
c57ba3e622 global mixin should not drop scope id (fix #4266) (#4274) 2016-11-22 09:22:21 -05:00
Evan You
b45b974a5c limit mouse event modifiers to mouse events 2016-11-21 17:34:03 -05:00
Evan You
bb6089c6e1 adjust keep-alive name matching priority 2016-11-21 16:44:52 -05:00
Evan You
cc4f4c5bda v-elseif -> v-else-if 2016-11-21 15:25:08 -05:00
chengchao
af78bcf916 Support v-if multiple conditions (#4271)
* add if conditions

* update v-if conditional

* update test

* update test case

* add test case

* update if conditions

* update walkThroughConditionsBlocks

* update v-elseif

* update v-once with v-elseif test case

* update style with v-elseif

* update flow type
2016-11-21 15:24:54 -05:00
Evan You
a0d8603f90 support destructuring in v-for alias 2016-11-21 11:41:18 -05:00
Evan You
662586b24a update version mismatch message 2016-11-21 10:52:33 -05:00
Evan You
db35444331 properly handle special newline unicode chars (fix #4268) 2016-11-21 10:29:57 -05:00
Evan You
a11ba69094 remove fdescribe 2016-11-21 10:27:54 -05:00
Evan You
e5d7f32cf6 tests for keep-alive include/exclude 2016-11-21 09:51:06 -05:00
Evan You
38b8cfdf96 handle regex with pipes in filter parser 2016-11-20 21:42:25 -05:00
Evan You
27009bc559 include/exclude for keep-alive 2016-11-20 21:35:55 -05:00
Evan You
03043b9081 support .camel modifier 2016-11-20 12:03:43 -05:00
Evan You
0458e2edb2 adjustment: scoped slots must use <template> 2016-11-20 12:03:43 -05:00
Evan You
0b78ea9696 properly handle inline function expressions in v-on 2016-11-20 12:03:43 -05:00
Evan You
303378f85b support default scoped slot + function children as scoped slot 2016-11-20 12:03:43 -05:00
Evan You
745f8a9125 add scoped slots render function usage test 2016-11-20 12:03:43 -05:00
Evan You
7f36f99f6c tests for scoped slots 2016-11-20 12:03:43 -05:00
Evan You
e81421c899 wip: fix codegen 2016-11-20 12:03:43 -05:00
Evan You
9ddbbcc340 wip: scoped slot implementation 2016-11-20 12:03:43 -05:00
Evan You
3575ff4a88 wip: codegen for scoped slots 2016-11-20 12:03:43 -05:00
Evan You
87186bfec2 improve build file readme 2016-11-20 12:03:43 -05:00
Evan You
71ce60da9a support filters in v-bind 2016-11-20 12:03:43 -05:00
Evan You
30f890cf3c support es6 template strings in filter parser 2016-11-20 12:03:43 -05:00
Evan You
2dc2d062b1 adjust build 2016-11-20 12:03:43 -05:00
Evan You
f242e119fa fix nextTick Promise implementation for polyfills 2016-11-20 12:03:24 -05:00
Evan You
6c7bc69328 sfc parser: treat all custom blocks as special tags 2016-11-20 11:59:55 -05:00
katashin
9e6255e457 fix the type of VNodeComponentOptions.Ctor (#4257) 2016-11-20 11:59:10 -05:00
Eduardo San Martin Morote
ff7f231002 Support custom blocks in SFC parser (#4157)
This allow to use other block appart from `template`, `script` or
`style` in the SFC parser. This allows such things as writing tests or
examples directly into the SFC file. Those are meant to be handled by
programs others than vue-loader like vue-play.
2016-11-20 11:37:42 -05:00
Chris Fritz
8bf26536d3 Add promise support to nextTick (#3967)
* add promise support to nextTick

* remove test for non-existent nextTick console error

* Update flow annotation for callback

* Revert flow annotation for nextTick callback
2016-11-20 09:50:38 -05:00
Changyu Geng
048014ac0d Modifiers key modifier for directive on of Vue.js 2.0 (#4034)
* Modifiers key modifier for directive on

* meta modifier key modifier for directive on

* Code format
2016-11-20 09:46:31 -05:00
chengchao
c1b84f87fb fix markStaticRoots with v-else (#4256) 2016-11-20 09:43:40 -05:00
Evan You
9fa4bbbc04 [release] 2.0.8 2016-11-19 22:14:59 -05:00
Evan You
24637781db [build] 2.0.8 2016-11-19 22:14:58 -05:00
Evan You
c994146372 increase transition test duration buffer on saucelabs 2016-11-19 22:08:06 -05:00
Evan You
06f41ad9fe avoid pushing the same ref more than once (fix #4253) 2016-11-19 21:45:52 -05:00
(´・ω・`)
4dccbbc997 Add missing lifecycle definition (#4251)
* add missing lifecycle definition

* add activated lifecycle tests
2016-11-19 07:27:36 -05:00
Evan You
4995ce5a6c make flow pass 2016-11-18 21:54:01 -05:00
Dean Codemo
ab428b5c4a fix v-move class when name isn't specified (#4239) 2016-11-18 20:41:45 -05:00
Evan You
b60cd83466 keep-alive re-activated component should get updated props (fix #4237) 2016-11-18 20:38:33 -05:00