Evan You
9fb4f7d070
wip: effectScope
2022-05-29 14:17:08 +08:00
Evan You
72aed6a149
workflow: remove eslint, apply prettier
2022-05-23 17:21:17 +08:00
Evan You
73bcd07194
test: all features except transition pass
2022-05-20 10:12:40 +08:00
Evan You
52627b95ce
test: jasmine.createSpy -> vi.fn
2022-05-20 07:56:02 +08:00
David Welch
e2f1ce06cf
chore: cleanup tweaks that would affect JS; rolled back packages folder to @pikax output
2022-05-04 15:16:17 -06:00
David Welch
40dccfedd1
chore: fix test harness; most of the tooling + test harness is happy; coverage still needs fixing
2022-05-03 11:04:55 -06:00
David Welch
be4b617942
chore: cleanup on tests; babel preset for typescript help
2022-05-01 14:37:05 -06:00
David Welch
534a0aa863
chore: convert tests to typescript
2022-04-29 15:43:25 -06:00
Ben Delaney
987f322b8f
fix: pause dep collection during immediate watcher invocation ( #11943 )
...
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
2021-03-30 11:46:12 +02:00
Luxiaosong
1574ade607
test: Add a unit test for "$off event and this event added by $once" ( #9550 )
2019-02-28 17:54:51 -05:00
Evan You
8cb2069aa4
test: fix tests in IE/Edge
2019-01-24 10:05:39 -05:00
Pak Youngrok
9c718522ba
feat(compiler/watch): allow unicode characters in component names and watch paths ( #8666 )
...
close #8564
2018-12-26 10:02:54 -05:00
ysj16
0d62bb84ff
fix: actually disable dep collection when invoking lifecycle hooks ( #9095 )
...
fix #9046
2018-12-01 00:24:30 -05:00
Sam Lichlyter
5489339a30
refactor(core): Replace "var" ( #8299 )
...
Replaces instances of "var" with "let" and "const" where applicable using the eslint 'no-var' and
'prefer-const' rules
2018-10-24 13:07:40 -04:00
Eduardo San Martin Morote
952ae33290
polish: warn when an existing property starting with $ is not pro… ( #8214 )
2018-10-24 13:04:56 -04:00
dherman
7b387390aa
fix: correct the `has` implementation in the `_renderProxy` ( #7878 )
...
It's feasible that someone might ask if something other than a string is
in the proxy such as a `Symbol` that lacks a `charAt` method. This aligns
the implementation with the `getHandler`.
2018-03-22 09:53:28 -04:00
Mads K
c24f3e4208
fix(events): properly $off array of events ( #6949 )
2017-11-02 16:58:21 -04:00
Josh Soref
f477ecdbbb
chore: spelling ( #6535 )
2017-09-07 07:33:09 -04:00
赵鑫晖
59dbd4a414
fix: ensure $attrs and $listeners are always objects ( #6441 )
...
fix #6263
2017-08-29 22:59:39 +02:00
Evan You
485e7403e4
test: make tests pass in IE
2017-07-12 18:33:16 +08:00
Evan You
61187596b9
feat(core): $attrs, $listeners & inheritAttrs option
...
New features intended for easier creation of higher-order components.
- New instance properties: $attrs & $listeners. these are essentially aliases
of $vnode.data.attrs and $vnode.data.on, but are reactive.
- New component option: inheritAttrs. Turns off the default behavior where
parent scope non-prop bindings are automatically inherited on component root
as attributes.
close #5983 .
2017-07-11 22:38:09 +08:00
AchillesJ
e3ffa109b3
make vm.$watch api consistent with watch option ( #5645 )
2017-05-11 15:10:40 +08:00
Bojan
1b38a261c5
support multi event ( #5056 )
2017-03-03 11:51:57 +08:00
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
2017-02-15 18:39:53 -05:00
Evan You
4f6b1014b3
improve $props test case
2017-02-14 11:39:05 -05:00
yantene
22f9560c92
add $props
2017-02-14 11:39:05 -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
fa61c0042c
fix proxy missing property detection when render function does not use `with`
2016-11-23 12:57:25 -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
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
Dan Reeves
e0698b2ebd
warn user calling Vue() without new ( #3793 )
2016-09-28 15:33:29 -04:00
Evan You
1e74675053
expose Vue.set/delete on instances as vm.$set/$delete
2016-08-17 13:53:50 -04:00
Evan You
fe801b16e4
wip: fix $parent after children change
2016-08-05 12:43:35 -04:00
Evan You
47f24430cb
also warn set/delete on instance root $data
2016-05-31 13:31:29 -04:00
Evan You
f23498242f
test for misc instance properties
2016-05-29 13:21:09 -04:00
Evan You
20758d554f
instance methods tests
2016-05-27 21:38:06 -04:00
Evan You
2021b1f36f
layout unit test files
2016-05-09 18:26:29 -04:00
Evan You
26b776fa81
add placeholders for unit tests
2016-04-26 11:10:11 -04:00