Commit Graph

1350 Commits

Author SHA1 Message Date
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
Evan You cbc1fbc3c7 fix eslint no-self-compare 2016-11-18 12:34:01 -05:00
Evan You acfe1ad4a2 warn using reserved attrs as prop (close #4241) 2016-11-18 12:13:12 -05:00
Evan You e4fd632790 avoid resetting innerHTML/textContent if value is the same (fix #4247) 2016-11-18 11:56:56 -05:00
Evan You c1bf20acb6 do not trigger change on NaN->NaN set (fix #4236) 2016-11-18 11:47:02 -05:00
Evan You 9a742cb423 only treat binding as domProps on specific elements (fix #4233) 2016-11-18 11:36:05 -05:00
Evan You f4df893828 fix weex tests for optimizer adjustments 2016-11-17 18:15:10 -05:00
Evan You 9a659593c4 adjust optimizer strategy and avoid marking simple elements as static root 2016-11-17 18:08:23 -05:00
chengchao 8f7c49c9ba Remove old static style when applying style update (fix #4227) (#4235)
* both static style and stylebinding should be removed

* update test case

* update test case
2016-11-17 11:25:54 -05:00
Dexter Miguel f80231773e destroyed elements pass their styles onto others that are similar (#4232) 2016-11-17 09:16:42 -05:00