Commit Graph

34 Commits

Author SHA1 Message Date
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 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
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
Brandon Surowiec 0f8ad06b2c Fix Spelling (#3496)
* Fix Spelling

* Fix other instances.
2016-08-22 23:03:00 +02: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 39bcd60a33 remove no longer necessary specs 2016-07-13 12:21:47 -04:00
Evan You 579ff4ddbc fix nested svg namespaces 2016-07-03 14:51:14 -04:00
Evan You feee9ef6f6 remove camelCase tag warning 2016-06-28 17:41:44 -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 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 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 48a0d29e35 rename track-by -> key 2016-06-02 13:43:53 -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 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
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 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