Chris Fritz
84918577d2
fix problematic use of 'deprecated' in warnings ( #4043 )
2016-11-01 11:17:25 -04:00
Herrington Darkholme
2ac581bb7f
SSR: eliminate closure in render.js implementation
...
eliminate closure
fix multiple render instances and memory leakage
fix eslint
magically fix flow typing
add multiple render stream test
2016-11-01 11:14:46 -04:00
Evan You
7dc38dea27
fix SFC parsing pug templates that contains "<" ( fix #3973 )
2016-10-22 16:27:35 +08:00
defcc
3105661662
v-model binding with array. (fix #3958,#3979) ( #3988 )
...
* fix v-model with array binding
* add mutli selects test case
* add test case. v-bind with array
* add comments
* code refactor
2016-10-22 14:57:32 +08:00
peisong
9c91190b40
Fix typos. ( #3956 )
2016-10-19 17:21:22 +02:00
Chris Fritz
4f5a47d750
fix root v-else not rendering in prod and switched examples to minified vue for better prod coverage ( #3943 )
...
* fix root v-else not rendering in production and switched examples to minified vue for better prod coverage
* add dev build comment to examples
* convert tabs to spaces in todomvc example for consistency
2016-10-14 09:27:54 -04:00
Evan You
3f8fa43819
fix duplicate attribute test case in IE
2016-10-13 05:19:51 -04:00
Evan You
d362d64633
update entities encoding/decoding ( fix #3899 )
2016-10-13 05:05:35 -04:00
defcc
a9417e4e4f
select change event fix ( #3922 )
...
* if select binding not changed, then needRest should be set to false, and no change event should be emitted
* update code style
2016-10-12 13:26:42 -04:00
Evan You
864ef21a7d
fix deeply nested keep-alive components not being destroyed ( fix #3882 )
2016-10-11 23:58:53 -04:00
Evan You
7570a3c566
test for directive refactor ( fix #3848 )
2016-10-11 20:49:10 -04:00
Evan You
1fa3844dc2
refactor directive update implementation
2016-10-11 20:31:13 -04:00
Evan You
e9bf5d1cd9
add warning for using v-model on v-for alias
2016-10-11 18:18:11 -04:00
Evan You
32383e5fa3
remove name option warning during instantiation
2016-10-11 17:58:02 -04:00
Evan You
1bb7cba0e0
improve event warning with component information ( close #3831 )
2016-10-11 17:32:35 -04:00
defcc
8bb1e58df0
fix multiple select render ( #3908 )
...
* fix multiple select render. The mutliple attribute of select dosen't apply at first, so the mutli selected option dosen't work when patching
* keep the vnode.data the same as before
2016-10-11 12:53:30 -04:00
Evan You
cc4c066989
fix coverage
2016-10-10 23:25:24 -04:00
Evan You
be6e050b89
fix `mounted` not called for manually mounted instance with parent ( fix #3898 )
2016-10-10 23:03:21 -04:00
Evan You
3446d1485d
support functional components as named slot ( fix #3872 )
2016-10-10 22:41:14 -04:00
Evan You
74e4e11b44
fix v-on handler with whitespaces ( fix #3893 )
2016-10-10 19:30:19 -04:00
Chris Fritz
de199f9bbd
allow 2 root nodes with v-if and v-else ( #3887 )
...
* allow 2 root nodes with v-if and v-else
* fix compiler-options test with less specific text
2016-10-09 16:33:23 -04:00
Evan You
f35f7e35cd
add v-model dynamic type warning
2016-10-08 14:15:05 -04:00
Vincent Klaiber
463c9c9e08
Switch to https ( #3864 )
...
Replaced all http vuejs.org links with https instead.
2016-10-07 17:39:51 -04:00
Eduardo San Martin Morote
c835ce57ff
Allow text nodes on static templates in components ( #3826 )
...
Fix #3824
2016-10-05 15:13:14 -04:00
Evan You
8ef603b7c3
test <template> key warning, fix coverage
2016-09-30 14:19:16 -04:00
Evan You
99ea0f8229
adjust named slot resolve check ( fix #3819 )
2016-09-30 14:19:16 -04:00
Evan You
b8369e802b
fix test template typo
2016-09-30 14:19:16 -04:00
Evan You
47ee6abfc6
remove codegen v-for truthiness check ( fix #3817 )
2016-09-29 22:05:39 -04:00
Evan You
6d4bdb5ff1
fix style binding for falsy numbers ( fix #3816 )
2016-09-29 17:51:00 -04:00
Dan Reeves
e0698b2ebd
warn user calling Vue() without new ( #3793 )
2016-09-28 15:33:29 -04:00
Evan You
310f5a2f5f
tweak v-model type=file warning phrasing
2016-09-27 15:51:46 -04:00
Eduardo San Martin Morote
b8095bf7b8
Warn when using v-model with input[type=file] ( #3791 )
2016-09-27 15:47:18 -04:00
Evan You
c791fc7826
fix unit tests in IE9
2016-09-23 18:16:43 -04:00
松鹤
575e810670
Optimization unit testing [vdom/patch/children] ( #3733 )
...
Optimization unit testing for vdom/patch/children.spec.js
2016-09-23 11:01:24 -04:00
Evan You
2b1a0b985c
extend commits e2e wait period because GitHub is slow
2016-09-19 12:35:59 -04:00
Evan You
56960b5fbc
support object looseEqual in v-model ( fix #3673 )
2016-09-14 11:35:30 -04:00
Evan You
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
2016-09-14 10:14:45 -04:00
Evan You
45ff6218c1
handle multiline atribute value parsing in IE ( fix #3663 )
2016-09-13 08:43:25 -04:00
Evan You
d0c13c7e66
test undefined method warning
2016-09-13 08:42:53 -04:00
Evan You
673dec6040
fix duplicate slot warning spelling
2016-09-10 10:41:12 +02:00
Ivan Agafonov
b47d773c58
support short prop declaration as prop: true ( #3643 )
2016-09-10 07:12:06 +02:00
Evan You
1c4ca4bc08
fix lint
2016-09-08 13:17:30 +02:00
Evan You
7a2c986722
relax SSR hydration match check to allow client populating empty parent nodes
2016-09-08 13:12:29 +02:00
Evan You
4afccc8eec
proper slot duplication warning ( fix #3595 )
2016-09-08 11:47:22 +02:00
Evan You
a00170cbb9
remove unnecessary appear check in v-show ( fix #3559 )
2016-08-30 10:45:38 -04:00
Evan You
ada90e5e37
revert directive bind invocation timing, add inserted hook for directives
2016-08-30 10:36:58 -04:00
Evan You
f4a505c67c
support returning promise for async components ( close #3527 )
2016-08-28 14:33:38 -04:00
Evan You
638d1820c2
bump dev deps
2016-08-28 11:12:53 -04:00
Evan You
4d640ce4d9
tweak v-if to avoid unnecessary node replacement
2016-08-27 17:01:57 -04:00
Evan You
014d2f8599
fix vdom patch edge case for static nodes being reused and as insertion reference node ( fix #3533 )
2016-08-27 16:29:07 -04:00
Evan You
a152fe0e98
only gen checkbox/radio model on input tags ( fix #3516 )
2016-08-26 18:28:58 -04:00
Evan You
e6c5f21f86
fix event initialization on reused slot nodes ( fix #3518 )
2016-08-26 18:23:18 -04:00
Evan You
eef040ebd0
vdom: teardown stale directives on patch ( fix #3491 )
2016-08-23 12:01:21 +02:00
Brandon Surowiec
0f8ad06b2c
Fix Spelling ( #3496 )
...
* Fix Spelling
* Fix other instances.
2016-08-22 23:03:00 +02:00
Evan You
d2df58e547
move v-show marker to runtime so that render functions work as expected ( fix #3488 )
2016-08-20 11:14:41 -04:00
Evan You
13ce3a2559
fix v-on chained keyCodes ( fix #3478 )
2016-08-18 12:17:17 -04:00
Evan You
6bdb577d4a
fix name warning when instantiating extended components ( fix #3472 )
2016-08-18 11:17:45 -04:00
Evan You
e62165ca89
ensure v-model to have higher priority than v-on events ( fix #3468 )
2016-08-17 16:40:45 -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
ce798c6f68
fix ref on empty component root ( fix #3455 )
2016-08-16 10:27:38 -04:00
Evan You
ac762c35ee
fix v-if component root test in Firefox
2016-08-15 23:29:49 -04:00
Evan You
68be112652
Revert "support transition on component with v-show in root node ( fix #3431 )"
...
This reverts commit aab560e0d9
.
2016-08-15 22:58:18 -04:00
Evan You
e08d6b9193
fix unnecessary child watcher calls on parent re-render ( fix #3453 )
2016-08-15 17:47:01 -04:00
Evan You
7b4a5a14e3
add warning for incorrect <slot> usage (ref #3447 )
2016-08-15 12:35:11 -04:00
Evan You
efb603570e
fix patch modules error on empty component root
2016-08-15 00:28:48 -04:00
Evan You
397e64ad89
include templates in ref spec
2016-08-14 23:46:52 -04:00
Evan You
aab560e0d9
support transition on component with v-show in root node ( fix #3431 )
2016-08-14 22:15:33 -04:00
Evan You
854ccce5d5
prevent out-in transition to enter early when parent re-renders ( fix #3440 )
2016-08-14 18:49:48 -04:00
Evan You
6a156020ec
warn missing event handlers (ref #3430 )
2016-08-14 18:29:46 -04:00
Evan You
9d43bff27e
fix component in slot lifecycle ( fix #3437 )
2016-08-12 14:12:57 -05:00
Evan You
63fe7fc76d
fix spec fit
2016-08-12 13:51:44 -05:00
Evan You
299f529498
fix transition enter hook for v-show ( fix #3433 )
2016-08-12 13:46:03 -05:00
Evan You
86bf3da18e
fix flow error for #3393
2016-08-11 08:53:31 -05:00
Evan You
837b0b224b
Merge branch 'bugfix/v-show-not-respecting-orig-display' of git://github.com/chrisvfritz/vue into show-display
2016-08-11 08:48:44 -05:00
Evan You
0e75fb93df
use component name for SSR caching (also allow full externalization)
2016-08-10 23:35:40 -05:00
Evan You
cdc0bc9cd4
improve keep-alive: use component-based API
2016-08-09 16:32:15 -04:00
Evan You
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
2016-08-08 19:03:00 -04:00
Chris Fritz
a4ac2eb687
made v-show respect display values in style attributes
2016-08-08 17:56:38 -04:00
Evan You
6e1597cf0b
fix quote decoding for templates retrieved from innerHTML ( fix #3403 )
2016-08-07 22:33:21 -04:00
Evan You
21908b7267
ensure children is only re-resolved on parent update ( fix #3400 )
2016-08-07 01:41:54 -04:00
Evan You
2d58d0e3d7
fix all unit tests
2016-08-05 13:23:43 -04:00
Evan You
fe801b16e4
wip: fix $parent after children change
2016-08-05 12:43:35 -04:00
Evan You
b5b963f51d
wip: refactor children resolution (remove thunk mechanism)
2016-08-05 12:10:13 -04:00
Evan You
22894810df
fix ssr v-bind test
2016-08-05 03:22:31 -04:00
Evan You
59b2a0eeb3
support class/style in v-bind object
2016-08-05 02:59:33 -04:00
Evan You
351aef3cb4
use comment node as empty placeholder (fix <transition> SSR hydration)
2016-08-05 01:52:09 -04:00
Evan You
5ed0c16b68
better hydration fail warnings
2016-08-04 13:50:16 -04:00
Evan You
b283f53fd0
support :style bind to text in SSR too
2016-08-02 22:05:33 -04:00
Evan You
69ba01e7d4
support :style binding to strings ( fix #3379 )
2016-08-02 21:17:22 -04:00
Evan You
42c1950dd0
properly merge classes between multiple nested components sharing the same element ( fix #3365 )
2016-08-01 15:12:35 -04:00
Chris Fritz
d9d4e7f196
prevent nested thunk children from failing ( #3367 )
2016-08-01 13:49:02 -04:00
Evan You
e1ab28c8c6
improve coverage
2016-07-31 19:30:20 -04:00
Evan You
7f429e9c91
discard vnode children if it has innerHTML or textContent as a prop ( fix #3360 )
2016-07-31 19:25:41 -04:00
Evan You
f31366c60e
add tests for some :class and v-bind edge cases
2016-07-31 18:28:08 -04:00
Evan You
6e471ea2ee
fix v-show transition on child component root ( fix #3354 )
2016-07-31 17:31:02 -04:00
Evan You
d7ae39044d
fix class updates if new vnode doesnt contain any class data
2016-07-29 10:46:09 -04:00
Evan You
35ee5b105e
remove staticAttrs
2016-07-29 10:45:43 -04:00
Chris Fritz
3e06c575cb
Allow 2 root nodes with v-if and v-else ( #3329 )
...
* allow 2 root nodes with v-if and v-else
* apply root constraints to 2nd root element with v-else
2016-07-28 23:40:18 -04:00
Evan You
7b3cb27d8a
update nightwatch-helpers
2016-07-28 20:30:38 -04:00
Evan You
04e2b53cd7
properly perserve whitespace in <pre> ( fix #3341 )
2016-07-28 18:50:05 -04:00
Evan You
40e37f17d2
remove transition text node warn spec
2016-07-28 18:50:05 -04:00
katashin
bbc07afd15
allow to initialize value attribute to 0 ( #3334 )
2016-07-27 15:16:15 -04:00
Evan You
998ea85b3e
support explicit transition type
2016-07-26 23:26:05 -04:00
Evan You
bee95f8c08
Revert "remove parser pre/post transforms (not used)"
...
This reverts commit 2e7a792308
.
2016-07-26 22:23:54 -04:00
Evan You
74f8b98509
handle static vnodes properly during patch ( fix #3325 )
2016-07-26 15:49:40 -04:00
Evan You
e84a1a43be
fix attribute decode reggression ( fix #3327 )
2016-07-26 14:38:46 -04:00
Evan You
097889fdac
proper fix for attribute decode in PhantomJS
2016-07-25 21:29:05 -04:00
Evan You
d83088ab07
extract nightwatch-helpers into npm package
2016-07-25 01:40:06 -04:00
Evan You
2c6930adfc
further improve scheduler
2016-07-24 21:46:25 -04:00
Evan You
609054ef10
remove bind.prop shorthand
2016-07-21 13:44:06 -04:00
Evan You
23a22cbb44
support slots in functional components
2016-07-21 02:07:51 -04:00
Evan You
154e17abae
support binding DOM properties with .prop modifier and :: shorthand
2016-07-21 01:53:30 -04:00
Evan You
472b8975ed
adjust scheduler: call user watchers before component updates
2016-07-20 18:43:20 -04:00
Evan You
ea9c6c37c3
support v-on .native modifier on components
2016-07-19 18:56:10 -04:00
Evan You
2e7a792308
remove parser pre/post transforms (not used)
2016-07-19 18:43:33 -04:00
Evan You
69ecdcb05e
rename vnode.data.props -> domProps
2016-07-19 17:52:10 -04:00
Evan You
593cf3929e
fix move test case
2016-07-17 01:40:31 -04:00
Evan You
6f7ec7f04d
add computed property ssr test case
2016-07-15 19:19:55 -04:00
Evan You
2732fec59e
tweak error handling
2016-07-15 17:22:53 -04:00
Evan You
d867b9e2e4
test observed vnode data warning
2016-07-14 19:31:34 -04:00
Evan You
6f4601ceeb
test transition-group
2016-07-14 17:51:25 -04:00
Evan You
210a3a22b0
test in-out early cancel with keep-alive
2016-07-14 12:26:31 -04:00
Evan You
ccf3a61532
improve transition coverage
2016-07-14 12:20:18 -04:00
Evan You
70e531a3f3
test removing stale leaving elements
2016-07-14 11:06:22 -04:00
Evan You
cf133365d5
test transition HOC
2016-07-14 10:59:10 -04:00
Evan You
05ef502c8a
coverage for nested SVG vnode namespace
2016-07-14 10:53:12 -04:00
Evan You
45a489ba81
support move transitions in transition-group
2016-07-13 21:49:09 -04:00
Evan You
6672481b58
fix transition test in phantomjs
2016-07-13 14:14:24 -04:00
Evan You
e94ad1437e
remove vm argument in transition hooks
2016-07-13 13:51:45 -04:00
Evan You
ef311931a3
all tests pass for new transition API
2016-07-13 13:33:12 -04:00
Evan You
bb3fe8e68b
update transition mode specs
2016-07-13 13:13:57 -04:00
Evan You
39bcd60a33
remove no longer necessary specs
2016-07-13 12:21:47 -04:00
Evan You
fcb1e38b13
update transition tests for new syntax
2016-07-13 11:39:03 -04:00
Evan You
afc414976c
fix svg component children
2016-07-13 11:38:50 -04:00
Evan You
d0482a0fae
should not keep slot name when passed further down ( fix #3259 )
2016-07-12 16:32:04 -04:00
Evan You
8401852484
ensure child components insert hook invoke timing
2016-07-12 02:59:05 -04:00
Evan You
e3f624e42e
add assertion for enter hook timing
2016-07-10 11:14:22 -04:00
Evan You
0764ae252e
ensure unique key for elements with transition ( fix #3247 )
2016-07-08 18:09:32 -04:00
Evan You
a06a2d00e3
tune scheduler to ensure update order for late-pushed watchers
2016-07-08 13:20:53 -04:00
Evan You
d164cf537a
directive: always call update + ensure modifiers
2016-07-07 17:36:48 -04:00
Evan You
2c4fe07704
skip unknown element test on Android 4.2
2016-07-07 17:00:28 -04:00
Evan You
42889ff87a
fix global directive function shorthand ( fix #3243 )
2016-07-07 16:09:26 -04:00
Evan You
dffeb1d1c2
fix HOC root node replace updates
2016-07-07 15:30:42 -04:00
Evan You
751b0c87a4
fix watcher tests
2016-07-07 13:37:58 -04:00
Evan You
9b94176530
fix functional test
2016-07-07 13:32:34 -04:00
Evan You
03621ee245
adjust render fn + fix props validation for functional components
2016-07-06 19:07:59 -04:00
Evan You
5c6c8c7ed0
include compiler in vue-server-renderer
2016-07-05 14:19:13 -04:00
Evan You
93342d7b96
fix coverage
2016-07-03 15:03:48 -04:00
Evan You
579ff4ddbc
fix nested svg namespaces
2016-07-03 14:51:14 -04:00
Evan You
bf9c46f435
server.getCacheKey -> serverCacheKey
2016-07-03 13:17:57 -04:00
kazuya kawaguchi
c665a682d2
pass vnode raw data in functional component ( #3168 )
2016-07-02 11:03:11 -04:00
Evan You
b3710e07e9
fix eslint in tests
2016-06-30 15:19:58 -04:00
Evan You
5b668a9222
warn non-Array value for <select multiple> ( close #3191 )
2016-06-30 11:48:48 -04:00
kazuya kawaguchi
41a3b79ecd
add compile option test ( #3181 )
2016-06-30 11:01:37 -04:00
Evan You
5882a0e3b5
transition: onEnter -> enter, onLeave -> leave, onAppear -> appear (ref #3172 )
2016-06-29 21:37:31 -04:00
Evan You
7827593972
custom directive: postupdate -> componentUpdated (ref #3172 )
2016-06-29 21:32:02 -04:00
Evan You
ba3bec824d
SSR: allow user to provide own (possibly async) cache implementation
2016-06-29 16:45:01 -04:00
Evan You
6cf19291be
adjust v-model on component sync mechanism ( fix #3179 )
2016-06-29 12:25:28 -04:00
Evan You
1b60a88ee1
adjust sameVnode check ( fix #3176 )
2016-06-29 12:03:37 -04:00
Evan You
feee9ef6f6
remove camelCase tag warning
2016-06-28 17:41:44 -04:00
Evan You
98a7e75f1e
increase transition test durations for suacelabs
2016-06-27 22:18:01 -04:00
Evan You
827ac27a96
fix eslint
2016-06-27 17:19:49 -04:00
Evan You
b791c5722f
tests for ssr bundle renderer
2016-06-27 17:11:04 -04:00
Evan You
43fabd5c96
pass the context vm in transition hooks
2016-06-27 15:11:40 -04:00
Evan You
0800fbe641
allow omitting data in createElement
2016-06-27 14:18:13 -04:00
Evan You
06b470369a
element namespace should be resolved at runtime for render function / jsx usage
2016-06-27 14:02:14 -04:00
Evan You
f20b1a8333
fix ssr test case for init -> beforeCreate change
2016-06-27 12:53:12 -04:00
Evan You
8c86973198
rename: init -> beforeCreate
2016-06-27 12:29:59 -04:00
Evan You
1b3b19491f
merge renderElement and renderElementWithChildren
2016-06-27 12:25:02 -04:00
Evan You
cf8aeddc12
fix v-once with v-for and remove unused _t method ( fix #3155 )
2016-06-27 11:18:06 -04:00
Evan You
3f91f6577f
fix id-resolved appear transition ( fix #3157 )
2016-06-26 20:03:39 -04:00
Evan You
36e63c234a
coverage for new global mixin strategy
2016-06-25 23:18:08 -04:00
Evan You
1d8f3a264e
better global mixin strategy
2016-06-25 10:43:19 -04:00
Evan You
4cf710e56d
update ssr package
2016-06-25 00:05:39 -04:00
Evan You
76d7809a11
config.errorHandler should capture user wathcer errors too (ref #3142 )
2016-06-22 22:43:58 -04:00
kazuya kawaguchi
194b20a9dc
fix transition spec typo ( #3141 )
2016-06-22 22:01:42 -04:00
Evan You
ebd8d5fd59
fix transition active class application timing to avoid initial flash
2016-06-22 22:01:11 -04:00
Evan You
3fe127b05a
fix v-model number conversion ( fix #3140 )
2016-06-22 21:43:52 -04:00
Evan You
f0efa9aad2
rename _keyCode -> _k
2016-06-22 11:39:40 -04:00
Evan You
4fe51a75a9
prohibit replacing Vue.config + support custom keyCodes
2016-06-22 11:35:33 -04:00
Evan You
63da54ddee
fix v-on number keyCode support
2016-06-22 11:10:36 -04:00
Evan You
9071dfd47a
test directive binding.expression
2016-06-21 02:19:00 -04:00
Evan You
8d2ee3c1f8
expose expression on directive binding
2016-06-21 02:17:11 -04:00
Evan You
9115291ccd
move sfc parser spec
2016-06-21 02:17:11 -04:00
Evan You
2af9f68bd9
remove source-map generation from sfc parser
2016-06-21 02:17:11 -04:00
kazuya kawaguchi
cf1a697710
fix v-model warning on component ( #3102 )
2016-06-18 11:08:44 -04:00
Evan You
439ca63f9f
fix sfc-parser unary tags handling
2016-06-17 15:35:59 -04:00
zigomir
27252928d3
Add failing test.
2016-06-17 14:53:36 -04:00
Evan You
68a73cfd19
support dynamic refs
2016-06-17 14:11:09 -04:00
Evan You
c949c74986
change ref to a built-in attribute
2016-06-17 14:03:19 -04:00
Evan You
e3fb6fe834
remove <render> tag
2016-06-17 13:25:34 -04:00
Evan You
d398023ad1
functional components
2016-06-17 13:21:04 -04:00
Evan You
41e46476a5
pass createElement into render functions
2016-06-17 11:29:22 -04:00
Evan You
2bb15044d1
prohibit replacing $data
2016-06-16 14:10:50 -04:00
Evan You
9e14146fb2
temporarily disable firefox in e2e tests until nightwatch updates to work with FF 47
2016-06-15 14:16:42 -04:00
Evan You
cfe745e9d2
apply scopeId to slot contents too
2016-06-15 13:33:12 -04:00
Evan You
d76bf8cac8
improve template error detector
2016-06-15 11:31:43 -04:00
Evan You
a5ccee3079
make modal e2e test more stable on CI
2016-06-15 10:40:40 -04:00
Evan You
b1351be073
support _scopeId in SSR
2016-06-14 14:45:45 -04:00
Evan You
b0ad94fc87
properly encode HTML in server-side rendering ( fix #3078 )
2016-06-14 14:15:41 -04:00
Evan You
d1a5298372
adjust build setup
2016-06-13 18:56:36 -04:00
Evan You
22a4d77197
fix select2 e2e test in phantomjs
2016-06-13 18:14:44 -04:00
Evan You
bd71c06b6f
tweak e2e script to allow passing in more flags to npm task
2016-06-13 18:01:12 -04:00
Evan You
000433c878
get tests passing on all suacelab browsers
2016-06-13 17:51:22 -04:00
Evan You
cec833a9e8
implement new v-for iterator syntax (ref: #3073 )
2016-06-13 14:55:53 -04:00
Evan You
9842f3eb38
refactor sfc-parser to handle nested template tags
2016-06-13 14:09:24 -04:00
Evan You
9438408210
fix SSR tests after preserveWhitespace removal
2016-06-10 18:26:48 -04:00
Evan You
cccfda96da
test for config.optionMergeStrategies
2016-06-10 18:20:48 -04:00
Evan You
34bcc02b77
remove preserveWhitespace config option
2016-06-10 18:14:58 -04:00
Evan You
a5cd31ab6d
coverage for sfc-parser
2016-06-10 16:57:42 -04:00
Evan You
f0a9e3d0f0
test padding and source map for sfc-parser
2016-06-10 16:54:58 -04:00
Evan You
7503f8eb15
support _scopeId
2016-06-08 18:26:15 -04:00
Evan You
3edfc4518d
support postTransform as well
2016-06-08 17:33:33 -04:00
Evan You
3ddef0c53c
add preTransform option for compiler modules
2016-06-08 16:36:01 -04:00
Evan You
8924e91abc
v-pre nodes should use staticAttrs
2016-06-08 16:22:51 -04:00
Evan You
a53d54aa8a
fix whitespace vnode identity breaking patch ( fix #3043 )
2016-06-08 13:28:55 -04:00
Evan You
d9ce1306e1
fix tests for global name override
2016-06-08 12:53:28 -04:00
Evan You
02d5330e50
detect and warn against using keywords as property names
2016-06-08 12:15:59 -04:00
Evan You
b1ef7cf168
coverage for sfc-parser
2016-06-07 21:56:28 -04:00
Evan You
f8daf74640
adjust build
2016-06-07 21:53:43 -04:00
Evan You
e236f80fa0
parser for single-file components
2016-06-07 21:36:00 -04:00
Evan You
b02b1e5ba4
better template compilation error warnings
2016-06-06 14:15:21 -04:00
Evan You
e433032f8f
test for keep-alive teardown
2016-06-06 01:20:27 -04:00
Evan You
8129e0c315
tests for keep-alive
2016-06-06 00:47:29 -04:00
Evan You
15d650054c
tests for transition-mode
2016-06-06 00:04:14 -04:00
Evan You
7a06a9df3b
prepare keep-alive and transition-mode tests
2016-06-05 15:26:45 -04:00
kazuya kawaguchi
8d22ee912e
add ssr custom directive test ( #3030 )
2016-06-04 10:52:47 -04:00
Evan You
8015100d77
improve inline transition test (test merging with exsiting definition)
2016-06-03 15:19:06 -04:00
Evan You
9adbe9c399
also test mounted for child component
2016-06-03 15:19:00 -04:00
Evan You
93501f2002
transition refactoring
2016-06-02 22:29:54 -04:00
Evan You
4cff0a7d76
use separate className for appear transitions
2016-06-02 18:18:45 -04:00
Evan You
4bcdce895c
record original tag name on vnode for components using is attribute
2016-06-02 18:18:32 -04:00
Evan You
48a0d29e35
rename track-by -> key
2016-06-02 13:43:53 -04:00
Evan You
03e0dab1f4
add prop mutation warning
2016-06-01 21:50:00 -04:00
Evan You
313442d38a
test create component hook merging
2016-06-01 20:02:39 -04:00
Evan You
060fab9ec1
make ref a runtime module
2016-06-01 19:52:42 -04:00
Evan You
4290cdb6f1
fix hydration warning test in phantomjs
2016-06-01 18:52:33 -04:00
Evan You
d40ab0ca87
fix component client-side hydration
2016-06-01 18:20:13 -04:00
Evan You
2ce08d63cc
test transition on child components
2016-06-01 17:15:25 -04:00
Evan You
bb5c102c35
fix errorHandler tests
2016-06-01 17:14:02 -04:00
Evan You
068f6270d5
test for errorHandler config
2016-06-01 17:10:24 -04:00
Evan You
eca4ad8203
more tests/fixes
2016-06-01 16:56:27 -04:00
Evan You
f8cfc81826
remove unnecessary v-pre related code
2016-06-01 15:03:09 -04:00
Evan You
bd12a68b02
add v-ref + v-for test case
2016-06-01 15:02:55 -04:00
Evan You
3e596bb97b
handle event removal
2016-06-01 14:49:51 -04:00
Evan You
1fc251cfa4
rename errorHandler config
2016-06-01 11:19:16 -04:00
Evan You
366188fbde
coverage improvements
2016-06-01 11:17:37 -04:00
Evan You
ff9c6b09bb
fix svg parsing in IE
2016-05-31 22:41:56 -04:00
Evan You
2e678b87a5
remove classList polyfill in tests
2016-05-31 21:42:33 -04:00
Evan You
b42f4b4c7f
improve transition tests
2016-05-31 20:55:13 -04:00
Evan You
79bfb1809a
more transition tests
2016-05-31 20:36:06 -04:00
Evan You
74538b4529
basic transition tests
2016-05-31 19:09:57 -04:00
Evan You
9c2ca07cc6
more coverage improvements
2016-05-31 15:26:55 -04:00
Evan You
6a48b35473
props tests
2016-05-31 15:15:01 -04:00
Evan You
4179ba0b1c
small coverage tweaks
2016-05-31 13:46:08 -04:00
Evan You
47f24430cb
also warn set/delete on instance root $data
2016-05-31 13:31:29 -04:00
Evan You
818faa7d58
options watch tests
2016-05-31 11:21:41 -04:00
Evan You
26bc0002d7
options computed test
2016-05-30 18:37:22 -04:00
Evan You
563cdba11e
improve coverage
2016-05-29 15:02:03 -04:00
Evan You
7913a96ccb
fix test in phantomjs
2016-05-29 14:39:48 -04:00
Evan You
2a09188e01
options propsData tests
2016-05-29 14:28:03 -04:00
Evan You
ed10dcf293
add asset resolution warning tests
2016-05-29 14:01:43 -04:00
Evan You
2f79bd26a4
options data tests
2016-05-29 13:55:30 -04:00
Evan You
0abbdd98c6
more filter tests
2016-05-29 13:35:47 -04:00
Evan You
f23498242f
test for misc instance properties
2016-05-29 13:21:09 -04:00
Evan You
5b18542eea
option extends tests
2016-05-29 13:02:45 -04:00
Evan You
43da334ec1
test programmatic $slot access
2016-05-28 21:39:59 -04:00
Evan You
7bb5234074
options filters tests
2016-05-28 21:29:05 -04:00
Evan You
1e90fd6a52
component option tests
2016-05-28 21:14:37 -04:00
Evan You
0450aba1f1
improve Vue.extend tests
2016-05-28 21:09:01 -04:00
Evan You
d62eacd1da
directive option tests
2016-05-28 21:08:55 -04:00
Evan You
99a96d3c37
should invoke destroy hook for replaced root nodes too
2016-05-28 21:05:53 -04:00
Evan You
5aeb7f5eef
lifecycle hook tests
2016-05-28 20:17:19 -04:00
Evan You
20758d554f
instance methods tests
2016-05-27 21:38:06 -04:00
kazuya kawaguchi
f5bc3e584f
add options render tests ( #2966 )
...
ref: #2872
2016-05-27 21:05:42 -04:00
Evan You
a99bed7267
just use lodash itself since it is already a dep
2016-05-27 20:00:12 -04:00
kazuya kawaguchi
d91eda8556
add options el tests ( #2967 )
...
* add options el tests
ref: #2872
* fix error at phantomjs env
2016-05-27 19:17:57 -04:00
kazuya kawaguchi
05235942a7
add options template tests ( #2968 )
...
* add options template tests
ref: #2872
* fix runtime error and warning optimaize
* update invalid template
2016-05-27 19:17:03 -04:00
Evan You
c6d749b268
bump dependencies and fix toEqual matcher in Safari
2016-05-27 19:16:14 -04:00
Evan You
3a0557a317
component slot tests
2016-05-27 17:14:23 -04:00
Evan You
87820e9fbd
remove select append selectedIndex test case
2016-05-26 23:54:06 -04:00
Evan You
2a64b8a356
tests for v-model select
2016-05-26 23:51:34 -04:00
Evan You
22d7acba03
always set props even if value is the same
2016-05-26 20:47:23 -04:00
Evan You
c2ef6d8df9
v-model checkbox tests
2016-05-26 20:41:34 -04:00
Evan You
1914dfe4dd
v-model radio tests
2016-05-26 20:11:47 -04:00
Evan You
0e67d82356
remove transition specs (to be tested in its own suite)
2016-05-26 19:46:33 -04:00
Evan You
b370eacfce
fix unit tests in IE9
2016-05-26 19:07:44 -04:00
Evan You
cc06868882
improve hydration test case
2016-05-26 18:22:22 -04:00
Evan You
0fd43c9653
Merge branch 'test/patch' of git://github.com/kazupon/vue into test/patch
2016-05-26 18:16:40 -04:00
Bartek Iwańczuk
2421265f61
tests for parent, name and mixins ( #2959 )
...
* tests for parent, name and mixins
* split mixin test case into to, prefixed test suites
2016-05-26 18:11:56 -04:00
Evan You
1c6325367e
amend render tests
2016-05-26 18:10:20 -04:00
kazuya kawaguchi
af16d36122
add render tests
...
ref: #2872
2016-05-26 17:57:19 -04:00
Evan You
dc76830b7b
fix test error in phantomjs
2016-05-26 13:58:10 -04:00
Evan You
056cb7f295
test for v-model text
2016-05-26 13:54:37 -04:00
kazuya kawaguchi
6b4a617e6d
Fix render codegen bug ( #2954 )
2016-05-26 10:31:49 -04:00
Evan You
34b37a62ec
test for v-cloak
2016-05-25 18:28:05 -04:00
kazuya kawaguchi
a6ac886f2c
add vdom helper
2016-05-25 15:50:00 +09:00
kazuya kawaguchi
31c63559ed
add eslint ignore for test
2016-05-25 15:43:12 +09:00
kazuya kawaguchi
02cdbd2dbb
add patch tests
...
ref: #2872
2016-05-25 15:42:39 +09:00
Evan You
cb915d0120
fix linting issues
2016-05-24 20:52:59 -04:00
Evan You
5594a7cd3d
tests for v-bind object
2016-05-24 20:51:01 -04:00
Evan You
54e648e49f
include patch process in watcher getter to ensure correct dep collection for deep updates
2016-05-24 19:53:58 -04:00
Evan You
8c8eaea0fb
restructure global api tests + ensure global mixins work regardless of constructor creation time
2016-05-24 14:12:10 -04:00
Bartek
7d55af6b6a
Delimiters tests ( #2948 )
...
* delimiters spec
* delete Vue.options.delimiters
2016-05-24 13:32:03 -04:00
Evan You
0a15d9ee27
add root element warnings
2016-05-23 19:03:02 -04:00
Evan You
df73cbf0a8
remove v-bind:style important test case due to phantomjs inconsistency
2016-05-23 19:02:46 -04:00
kazuya kawaguchi
30c82195d1
add create-element tests ( #2930 )
2016-05-23 16:32:48 -04:00
Brendan Bowidas
93bfc9baa7
Unit tests for v-bind:style ( #2932 )
...
* begin unit tests for v-bind:style
* add unit tests for v-bind:style directive
2016-05-23 16:30:58 -04:00
Evan You
82c76175ec
use extend instead of Object.assign() since the latter is not avaialble in phantomjs
2016-05-20 11:46:51 -04:00
Evan You
f5297358af
fix linting problems
2016-05-20 11:42:58 -04:00
Evan You
9d3479a76c
rearrange option tests
2016-05-20 11:41:26 -04:00
Blake Newman
79b29f7ba4
added ref directive tests ( #2892 )
2016-05-20 11:36:29 -04:00
Evan You
acd712d54d
fix ref codegen
2016-05-20 11:36:14 -04:00
Evan You
af0bf2a886
async component tests
2016-05-19 23:43:05 -04:00
Evan You
600ebfbaa4
simplify compiler tests
2016-05-19 23:15:58 -04:00
kazuya kawaguchi
0f46d950ec
add create-component tests ( #2928 )
...
ref: #2872
2016-05-19 14:01:30 -04:00
Evan You
6fe268874c
improve codegen for smaller generated code size
2016-05-18 20:57:51 -04:00
kazuya kawaguchi
680baf846e
add codegen tests ( #2894 )
...
ref #2872
2016-05-18 13:18:31 -04:00
Evan You
f8ece6144a
improve waitForUpdate() syntax
2016-05-18 13:08:14 -04:00
Blake Newman
8e35604dab
added pre directive tests ( #2891 )
2016-05-18 01:35:13 -04:00
Jinjiang
1d45c4b9e9
extract style/class/transition as web platform compiler modules ( #2885 )
...
* extract style/class/transition as web platform compiler modules
* fixed genData bug
* made module.staticKeys optional in compiler
* changed module.genData just return additional data in compiler
* cached genStaticKeys in compiler optimizer
2016-05-16 21:02:13 -04:00
Evan You
da4124c4ca
unit tests for v-bind:class
2016-05-16 18:18:51 -04:00
kazuya kawaguchi
6daba53750
add optimizer tests ( #2882 )
...
ref: #2872
2016-05-16 12:56:53 -04:00
Evan You
eaddbe5739
update track-by usage in test
2016-05-16 01:03:47 -04:00
kazuya kawaguchi
b8ffc659e9
add parser tests ( #2878 )
...
ref #2872
2016-05-15 16:50:44 -04:00
kazuya kawaguchi
b65511e111
add scheduler tests ( #2869 )
2016-05-14 06:21:46 -04:00
Evan You
45d96c7dbc
annotation for vdom (wip)
2016-05-14 03:08:21 -04:00
kazuya kawaguchi
82da272bdf
add watcher tests ( #2868 )
2016-05-13 20:53:09 -04:00
Evan You
7ac7cae195
add error handling for srr
2016-05-12 02:49:11 -04:00
Blake Newman
9b59ccc6b4
Fix issue with renderToString stack length overflowing ( #2840 )
...
* Fix issue with renderToString stack length overflowing
* SSR renderToString asyncronous callback
2016-05-12 02:13:38 -04:00
Evan You
d6ced71719
prohibit Vue.set/delete on Vue instances
2016-05-12 01:56:01 -04:00
kazuya kawaguchi
64de68b6f5
add observer tests ( #2855 )
...
* test: add observer tests
NOTE: bring vue 1.x observer test
* update observer tests
2016-05-12 01:40:50 -04:00
Blake Newman
35440d9856
SSR warn for no VUE_ENV and add tests ( #2844 )
...
- Added test coverage for data observation and VUE environment variable
- Moved Test helpers into own folder for reusability
2016-05-12 01:21:53 -04:00
Evan You
07cf6444c6
return this in $mount, make unit tests more consistent
2016-05-11 15:40:50 -04:00
Evan You
76d06ba422
implement $isServer and ssr observation skipping via env variables
2016-05-10 18:03:30 -04:00
Evan You
2021b1f36f
layout unit test files
2016-05-09 18:26:29 -04:00
Evan You
6593be9f75
update unit tests convention + basic component tests
2016-05-09 18:08:18 -04:00
Evan You
498448284a
tweak ssr async resolve, revert $forceUpdate change
2016-05-08 16:59:52 -04:00
Evan You
270b0ac021
Merge branch 'ssr-improvements' of git://github.com/blake-newman/vue into ssr
2016-05-08 14:51:11 -04:00
Evan You
be2e79df27
fix ssr tests
2016-05-08 00:14:44 -04:00
Evan You
5fb1a549d2
make attr behavior more consistent + fix tests
2016-05-07 16:27:33 -04:00
Takuya Tejima
ae78813606
[Vue 2.0] Fix BooleanAttr & EnumeratedAttr serialization ( #2810 )
...
* fix attr serialization
* Add attribute test cases
2016-05-07 15:51:46 -04:00
Blake Newman
a233e4dbfa
improved SSR rendering
...
- Reduced duplicated code
- Added more test coverage
- Added syncronous component resolving support
- Fixed component lifecycle
- Added raw render method, to allow custom streaming possibilities
2016-05-07 17:56:18 +01:00
Evan You
68372ea26b
update track-by usage
2016-05-04 16:48:47 -04:00
Takuya Tejima
49d5f2f393
Suppress a warning 'Unknown custom element' with SSR <img> tag
2016-05-04 11:36:16 -04:00
Evan You
f0f2b76183
fix eslint
2016-04-29 19:44:10 -04:00
Evan You
2f0222b41c
layout test files
2016-04-29 19:31:32 -04:00
Evan You
72b74a23e4
improve v-for unit tests
2016-04-29 19:26:09 -04:00
Evan You
2679653362
test for Vue.compile
2016-04-29 18:42:20 -04:00
Evan You
e275b75af8
test/fix global filter registration
2016-04-29 18:39:52 -04:00
Evan You
cab88c50bb
fix child component v-on spec
2016-04-27 13:19:05 -04:00
Evan You
680bd042c9
fix v-on test capture
2016-04-27 13:13:01 -04:00
Jinjiang
25efaf2163
[next] v-on test ( #2741 )
...
* ensure babel-env during build
* v-on test
* fixed build script
2016-04-27 13:07:25 -04:00
Blake Newman
681dc603e4
added v-once directive unit tests ( #2740 )
2016-04-27 13:07:10 -04:00
Evan You
26b776fa81
add placeholders for unit tests
2016-04-26 11:10:11 -04:00
Evan You
4191f251af
adjust ssr API so that user can provide server-side implementations for custom directives
2016-04-26 00:42:49 -04:00
Evan You
3dc6088d53
use more reliable display check for v-show tests (fix it in PhantomJS)
2016-04-25 23:36:29 -04:00
Evan You
bf14a05f3e
fix spelling
2016-04-25 23:32:49 -04:00
Evan You
f550933334
fix unit tests in Firefox/Safari
2016-04-25 23:30:48 -04:00
Jinjiang
657ba390c7
directives v-for v-html v-text v-show ( #7 )
...
* v-text & v-html tests
* new es2015 syntax
* passed v-html test
* fixed if/for/else render update bug
* fixed if/for/else render update bug
* added v-else with v-if test
* added v-if test with v-else and v-for
* fixed code format
* fixed Vue.delete bug
* v-for test
2016-04-25 23:25:59 -04:00
Evan You
38540b07e4
add server-rendered mark for ssr output
2016-04-25 21:29:58 -04:00
Evan You
9a2c8db4c8
get rid of new function in core so that runtime is fully CSP-compliant
2016-04-25 19:30:33 -04:00
Evan You
d08cf7c320
streaming renderer!
2016-04-25 19:10:33 -04:00
Evan You
2111709e57
assert setting state in created hook works in ssr
2016-04-25 17:15:46 -04:00
Evan You
018b0e5440
ssr hoc component (failing)
2016-04-25 16:43:30 -04:00
Evan You
83ea6ef85d
update ssr with tests
2016-04-25 16:37:20 -04:00
Evan You
fff89dff1e
add waitForUpdate as allowed global in unit tests
2016-04-25 13:44:28 -04:00
Evan You
4540aaf37d
fix async failure
2016-04-25 13:43:22 -04:00
Evan You
75ce539b49
use custom async chaining assertion utility
2016-04-25 13:37:19 -04:00
Evan You
7169d14179
update if tests
2016-04-25 13:17:59 -04:00
Jinjiang
9b681f7cf0
fixed if/for/else render update bug ( #8 )
...
* fixed if/for/else render update bug
* added v-else with v-if test
* added v-if test with v-else and v-for
* removed unnecessary elseBlock detect in optimizer
2016-04-25 13:02:17 -04:00
Evan You
e649795596
improve linting
2016-04-25 12:58:37 -04:00
Jinjiang
84549215bf
global api tests ( #6 )
...
* Vue.set & Vue.delete tests
* more global api tests
* new es2015 syntax
2016-04-25 12:46:19 -04:00
Evan You
213aaf3203
use arrow fns in tests
2016-04-24 13:29:38 -04:00
Evan You
4c6ed93a36
global config tests
2016-04-24 13:28:26 -04:00
Evan You
a04ff9dcc7
remove deprecated code
2016-04-24 13:28:26 -04:00
Evan You
9ce3693021
setup unit test
2016-04-23 20:00:38 -04:00
Evan You
6dd3d5b4c4
add a step to commits e2e test
2016-04-23 17:06:43 -04:00
Evan You
d0c99b1cdb
make modal test more stable in chrome (all e2e tests pass)
2016-04-21 19:29:35 -04:00
Evan You
a9fbc0b738
remove old e2e tests
2016-04-21 19:24:23 -04:00
Evan You
5807adcf1f
e2e test for todomvc
2016-04-21 19:23:13 -04:00
Evan You
c942793b8c
e2e tests for tree
2016-04-21 18:19:09 -04:00
Evan You
6170a55d15
e2e test for svg
2016-04-21 18:02:08 -04:00
Evan You
b38b4b2907
fix watch in firefox again + e2e test for select2
2016-04-21 17:54:34 -04:00
Evan You
f9c3d70526
modal e2e test
2016-04-21 17:33:51 -04:00
Evan You
c403f5635b
grid e2e test
2016-04-21 17:22:58 -04:00
Evan You
7b180cd01b
commits e2e test
2016-04-21 17:10:54 -04:00
Evan You
0220fc310e
allow runner to run sub tests
2016-04-21 17:03:43 -04:00
Evan You
04b8a7533c
markdown test pass
2016-04-21 16:47:31 -04:00
Evan You
4d018cbe9f
start switching to nightwatch
2016-04-21 16:20:29 -04:00
Evan You
da42ca8203
add e2e test for modal
2016-04-20 18:29:59 -04:00
Evan You
2ef8d1028b
add e2e test for select2
2016-04-16 13:26:17 -04:00
Evan You
ceab86d9df
add e2e tests
2016-04-16 04:12:37 -04:00