Evan You
0b78ea9696
properly handle inline function expressions in v-on
2016-11-20 12:03:43 -05:00
Evan You
71ce60da9a
support filters in v-bind
2016-11-20 12:03:43 -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
9a742cb423
only treat binding as domProps on specific elements ( fix #4233 )
2016-11-18 11:36:05 -05:00
Evan You
9a659593c4
adjust optimizer strategy and avoid marking simple elements as static root
2016-11-17 18:08:23 -05:00
Evan You
9931b715cd
avoid marking slot content as static.
2016-11-12 22:16:45 -05:00
Evan You
5d36e8bc1b
fix IE conditional comments ( fix #4125 )
2016-11-04 19:48:11 -04:00
Evan You
e2a361a052
forgivingly handle < inside template plain text ( fix #4012 )
2016-11-03 00:53:49 -04:00
Chris Fritz
84918577d2
fix problematic use of 'deprecated' in warnings ( #4043 )
2016-11-01 11:17:25 -04:00
Evan You
3f8fa43819
fix duplicate attribute test case in IE
2016-10-13 05:19:51 -04:00
Evan You
1fa3844dc2
refactor directive update implementation
2016-10-11 20:31:13 -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
8ef603b7c3
test <template> key warning, fix coverage
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
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
2016-09-14 10:14:45 -04:00
Evan You
4afccc8eec
proper slot duplication warning ( fix #3595 )
2016-09-08 11:47:22 +02:00
Evan You
4d640ce4d9
tweak v-if to avoid unnecessary node replacement
2016-08-27 17:01:57 -04: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
18386c4cf4
fix static nodes optimization inside v-for ( fix #3406 )
2016-08-08 19:03:00 -04:00
Evan You
b5b963f51d
wip: refactor children resolution (remove thunk mechanism)
2016-08-05 12:10:13 -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
04e2b53cd7
properly perserve whitespace in <pre> ( fix #3341 )
2016-07-28 18:50: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
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
39bcd60a33
remove no longer necessary specs
2016-07-13 12:21:47 -04:00
Evan You
afc414976c
fix svg component children
2016-07-13 11:38:50 -04:00
Evan You
0764ae252e
ensure unique key for elements with transition ( fix #3247 )
2016-07-08 18:09:32 -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
kazuya kawaguchi
41a3b79ecd
add compile option test ( #3181 )
2016-06-30 11:01:37 -04:00
Evan You
feee9ef6f6
remove camelCase tag warning
2016-06-28 17:41:44 -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
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
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
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
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
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
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
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
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
b1ef7cf168
coverage for sfc-parser
2016-06-07 21:56:28 -04:00
Evan You
e236f80fa0
parser for single-file components
2016-06-07 21:36:00 -04:00
Evan You
93501f2002
transition refactoring
2016-06-02 22:29:54 -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
060fab9ec1
make ref a runtime module
2016-06-01 19:52:42 -04:00
Evan You
f8cfc81826
remove unnecessary v-pre related code
2016-06-01 15:03:09 -04:00
Evan You
9c2ca07cc6
more coverage improvements
2016-05-31 15:26:55 -04:00
kazuya kawaguchi
6b4a617e6d
Fix render codegen bug ( #2954 )
2016-05-26 10:31:49 -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
0a15d9ee27
add root element warnings
2016-05-23 19:03:02 -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
acd712d54d
fix ref codegen
2016-05-20 11:36:14 -04:00
Evan You
600ebfbaa4
simplify compiler tests
2016-05-19 23:15:58 -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
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
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
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