Commit Graph

1579 Commits

Author SHA1 Message Date
katashin
fba78d4598 Update types for new features of v2.1 (#4305)
* add types for scoped slots

* update nextTick types for returning promise

* improve scoped slot type
2016-11-25 12:08:42 -05:00
chengchao
db3e1c7709 reuse no function from utils (#4322) 2016-11-25 12:08:29 -05:00
Evan You
1903df4991 rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen (close #4317) 2016-11-25 10:06:21 -05:00
Evan You
16e3dae245 fix eslint and coverage 2016-11-24 12:59:19 -05:00
Evan You
ae4db82c4b fix unexpected warnings in tests 2016-11-24 12:53:13 -05:00
Evan You
7b389bc34e avoid warning unknown custom elements in v-pre 2016-11-24 12:47:27 -05:00
Evan You
a52a094bef wip: adjust update error reporting 2016-11-24 12:17:41 -05:00
Evan You
b7946a4b22 wip: fix tests with expected warnings 2016-11-24 12:00:51 -05:00
Evan You
00c137fb27 test: check unexpected warnings 2016-11-24 11:50:20 -05:00
Evan You
3cfd84346f fix style !important spec 2016-11-24 11:21:25 -05:00
Evan You
e89830230c fix browser env detection for jsdom in Node 7 2016-11-24 11:03:27 -05:00
Evan You
26b6374c3c test for static style !important support 2016-11-24 10:15:05 -05:00
Evan You
ac060163c3 handle !important in static styles (fix #4306) 2016-11-24 10:12:02 -05:00
Evan You
6034c3e699 ensure methods are available in data() (close #4302) 2016-11-24 10:02:20 -05:00
Evan You
c32ea056a5 [release] 2.1.3 2016-11-23 19:22:03 -05:00
Evan You
00ffe96eda [build] 2.1.3 2016-11-23 19:21:51 -05:00
Evan You
9e5d882bd2 [release] 2.1.2 2016-11-23 18:42:05 -05:00
Evan You
b694e3ad9e [build] 2.1.2 2016-11-23 18:41:50 -05:00
Evan You
e4591ce75b simplify proxy mode logic and fix case for mount 2016-11-23 18:35:25 -05:00
Evan You
aa5f5d1198 ensure $scopedSlots is always an object (close #4301) 2016-11-23 18:04:35 -05:00
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