Commit Graph

1761 Commits

Author SHA1 Message Date
Evan You 2343b908c2 [release] 2.2.4 2017-03-13 23:08:09 +08:00
Evan You 6cf5d2d0d3 [build] 2.2.4 2017-03-13 23:08:08 +08:00
Evan You 45e273fa02 fix perf measure regression for nested components of the same name (fix #5181) 2017-03-13 23:06:03 +08:00
Evan You d185dd294c [release] 2.2.3 2017-03-13 16:07:59 +08:00
Evan You b28aa39962 [build] 2.2.3 2017-03-13 16:07:58 +08:00
Evan You 368a335337 perf code coverage 2017-03-13 16:03:54 +08:00
Evan You 041683953a improve camelCase prop warning message 2017-03-13 15:54:36 +08:00
AchillesJ c6ab2e06d4 warn when template contains text outside root element (#5164)
* warn when template contains text outside root element

* fix warned flag

* make warn once a function
2017-03-13 15:42:46 +08:00
CodinCat 025e763124 Warn when not passing props in kebab-case (#5161)
* Warn when not passing props in kebab-case

* Move keyInLowerCase to dev only block
2017-03-13 15:41:26 +08:00
Evan You 4d227b98d0 turn off perf timeline measuring by default + reduce its impact on dev time perf (fix #5174) 2017-03-13 15:37:57 +08:00
Evan You a6e1ae0aac v-bind object should have lower priority than explicit bindings (fix #5150) 2017-03-10 16:04:43 +08:00
Evan You e7dfcc334d fix custom directive arg fall through (fix #5162) 2017-03-10 15:55:53 +08:00
Evan You 0b964c8440 formatting tweaks 2017-03-10 15:55:53 +08:00
Evan You 045ff5d56d refactor create-component 2017-03-10 15:55:53 +08:00
kingwl 4964b253d0 fix wrong order of generate modifier code (#5147)
* fix wrong order of generate modifier code

* add unit test of #5146

* Update events.js
2017-03-10 09:42:14 +08:00
AchillesJ f9706dc288 fix v-on unit test (#5144) 2017-03-10 09:40:04 +08:00
Herrington Darkholme 8fca83d6b6 fix #5121: parse content in textarea as plaintext (#5143)
* fix #5121: parse content in textarea as plaintext

* update comment
2017-03-10 09:39:38 +08:00
Evan You 82bc8b7429 Merge branch 'dev' of github.com:vuejs/vue into dev 2017-03-09 10:33:21 +08:00
Evan You d0b8dce4a6 [release] 2.2.2 2017-03-09 10:32:39 +08:00
Evan You 8921d63bb0 [build] 2.2.2 2017-03-09 10:32:38 +08:00
Evan You 95cd2bd7fa test v-model select with circular reference 2017-03-09 10:30:24 +08:00
Evan You e6f89c0e2d error-detector code style tweak 2017-03-09 10:27:03 +08:00
Brett Willemsen 890e68a37d Update dbmon benchmark css to reflect changes made in js-repaint-perfs project. (#5123) 2017-03-09 09:23:20 +08:00
Evan You fc6f181052 fix weex model test 2017-03-08 16:00:35 +08:00
Evan You 9d3ceba251 also include weex tests in npm test 2017-03-08 15:59:36 +08:00
Evan You 12870be9e0 expose component v-model expression on passed data 2017-03-08 15:39:47 +08:00
AchillesJ 06de266b11 reusing onRE (#5130)
* remove unnecessary code

* improve compiler codegen

* change false to 0

* reusing onRE
2017-03-08 15:36:23 +08:00
Evan You c619b8d22c remove inline value warnings for checkbox/radio/select also (close #5112) 2017-03-08 15:22:14 +08:00
kingwl 2e1e809467 fix prevent default unit test (#5127) 2017-03-08 13:47:39 +08:00
Evan You 303824ea9c default slot should use fallback content when it contains all whitespace nodes (fix #5097) 2017-03-08 12:28:34 +08:00
Evan You 41ef650f9d remove log 2017-03-08 11:48:20 +08:00
Evan You a524919d21 fix v-on inline function expression with modifiers (fix #5120) 2017-03-08 11:28:01 +08:00
小散 2afaac2b39 cache vnodes length (#5125) 2017-03-08 10:24:25 +08:00
Chris Fritz 0bcad13bb3 Reorganize and update PR template (#5106)
* Reorganize and update PR template

* Update PULL_REQUEST_TEMPLATE.md

* Remove required info for bugfixes
2017-03-08 10:18:02 +08:00
YOU e12d96a132 chore(parser.spec): fix an IE conditional test with a typo (#5102)
* chore(parser.spec): fix an IE conditional test with a typo

* check children.length is 0, instead of undefined
2017-03-08 10:17:08 +08:00
YOU 7010d0ffc5 chore(model-select.spec): add a check for value binding and fix some typo (#5092)
* chore: add a check for value binding

* chore: fix some typo
2017-03-08 10:14:55 +08:00
YOU 8acfdb31d2 fix a typo on type definition name (#5103) 2017-03-06 09:56:22 +01:00
YOU be9ac624c8 chore(src): fix some typos (#5104) 2017-03-06 09:54:30 +01:00
YOU 61930e0cc6 chore(test): fix some typos (#5101) 2017-03-06 09:50:49 +01:00
Nathan Shively-Sanders 2dc177ffb3 SFC parseComponent pads complete content with spaces (#5059)
* SFC parseComponent pads content with spaces

when `{ pad: true }` is provided. That is, all content is converted to
spaces. Previously, each line was truncated to "//". The new padding
method works better with character-oriented tools that calculate
positions by distance from the beginning of the file instead of by line
number.

* Made parseComponent's pad support "line" | "space"

Also still supports true for backward compatibility. True is the same as
"line".
2017-03-06 04:36:39 +08:00
YOU eb58694f6f chore(filter.spec): fix variable-- test case (#5094) 2017-03-05 09:40:49 +09:00
YOU c683caff3a chore(model-text.spec): add a missing check (#5093) 2017-03-05 09:40:35 +09:00
YOU 23a20ce09d chore: \s match all whitespaces (#5091) 2017-03-05 09:40:14 +09:00
YOU 62e4f2b3d1 chore: fix some closetag mismatches (#5088) 2017-03-05 00:10:11 +09:00
YOU 40bc5923ae chore: preserveWhitespace is true by default (#5082) 2017-03-04 03:40:18 +08:00
jingsam 13a14d5a96 Update util.js (#5047) 2017-03-03 12:13:19 +08:00
Changyu Geng 7de165c99e Add the runtime-only warning for el in-DOM HTML template (#5039)
* Runtime-only warning for el on-site template

* Add el check in mountComponent before warning
2017-03-03 12:11:53 +08:00
laoxiong 6a5b8043f2 imporve:check the delete oparator in event expression (#5072)
* improve:check the unary operators

* add:test
2017-03-03 12:08:59 +08:00
kazuya kawaguchi 0922b1d8aa improve set/delete API (#5050) 2017-03-03 12:07:42 +08:00
TAKUMA Hanatani d6999c19c4 Fix unnecessary conditional. (#5054) 2017-03-03 12:04:04 +08:00