Commit Graph

1264 Commits

Author SHA1 Message Date
Evan You
cb253d7405 wip: weex framework integration 2016-11-07 16:26:06 -05:00
Evan You
550dcee233 fix coverage 2016-11-07 16:25:51 -05:00
Evan You
b69b4a4eef tweak style merge for performance 2016-11-07 16:20:10 -05:00
chengchao
e960cd104e enable style merge behavior between parent-child components (fix #3997) (#4138)
* merge style between components

* update test case

* update style compiler

* add paren to style binding code

* update background property parsing

* introduce interpolation warning and refactor var to const
2016-11-07 16:19:48 -05:00
chengchao
33cf1134ed Update ssr class render (fix #4143) (#4146)
* fix ssr class render

* update test case
2016-11-07 11:33:37 -05:00
Evan You
a4fcdbe673 make standalone build usable in Node.js too 2016-11-05 14:37:30 -04:00
Evan You
0ca13dfd29 add missing backer 2016-11-05 11:28:31 -04:00
ZhangJan
b7ab388df3 Fix xhtml namespace typo (#4131) 2016-11-05 11:23:57 -04:00
Evan You
a2cc6e2b68 [release] 2.0.5 2016-11-04 23:47:26 -04:00
Evan You
b064633951 [build] 2.0.5 2016-11-04 23:47:26 -04:00
Evan You
c67a710b3c avoid triggering watcher on unchanged default props (fix #4090) (26 seconds ago) 2016-11-04 22:49:30 -04:00
Evan You
6e3e989a90 log render error instead of throwing 2016-11-04 22:19:45 -04:00
Evan You
ef0d788fc1 remove unnecessary component normalization during options merge 2016-11-04 22:00:51 -04:00
Evan You
53964dbad2 fix html parser infinite loop (fix #4127) 2016-11-04 21:58:06 -04:00
Evan You
51725cff5e fix SVG foreignObject (fix #4122) 2016-11-04 20:51:17 -04:00
Evan You
5d36e8bc1b fix IE conditional comments (fix #4125) 2016-11-04 19:48:11 -04:00
Evan You
0973342e5c [release] 2.0.4 2016-11-04 16:47:03 -04:00
Evan You
6b1b1d58e9 [build] 2.0.4 2016-11-04 16:47:02 -04:00
Evan You
d0afcd3cf9 fix domProps unset for v-html (fix #4107) 2016-11-04 16:22:49 -04:00
Evan You
fa16b129ca remove unnecesary function 2016-11-04 12:54:53 -04:00
Evan You
e5f23d9fa0 fix component attrs/domProps merging in SSR 2016-11-04 12:53:15 -04:00
(´・ω・`)
240df147f1 Generate style on custom component in SSR (fix #4055) (#4076)
* fix #4055, generate style on custom component

* add test for custom component style

* add synthetic data for module processing
2016-11-04 09:38:52 -04:00
jingsam
c23c5c5d70 keep consistency in dev and prod env (#4093)
* keep consistency in dev and prod env

* Update extend.js

* delete name=null

* fixup

* Update name.spec.js
2016-11-04 09:35:10 -04:00
(´・ω・`)
4078ce9c58 fix #4041, warn overriding Vue's internal methods (#4111)
* fix #4041, warn overriding Vue's internal methods

* prefer concise warning message
2016-11-04 07:44:47 -04:00
odangosan
35f145cfc1 Update vue.d.ts (#4105)
fix typo.
2016-11-04 09:37:20 +09:00
Evan You
bc455352a3 test sfc parser <style module> 2016-11-03 16:25:53 -04:00
Evan You
d9efc6a92b clone components hash to avoid webpack 2 immutable export (fix #4062) 2016-11-03 16:23:21 -04:00
Kaorun343
887ec90d14 fix RenderContext (#4099) 2016-11-03 13:07:07 -04:00
Victor Zakharenko
5a4c1d7f70 Add support attribute module (#4091)
* Add support attribute module

To be able to use css-module

* Extend type SFCBlock

module?: string | boolean

* package vue-template-compiler update

* Revert "package vue-template-compiler update"

This reverts commit 0104458d631115d1abf8d7a6a694a1d84b9b0fc5.
2016-11-03 10:53:43 -04:00
Evan You
e2a361a052 forgivingly handle < inside template plain text (fix #4012) 2016-11-03 00:53:49 -04:00
Evan You
ec824be88e fix v-once inside v-for (fix #3964) 2016-11-02 22:34:36 -04:00
Evan You
09f9783943 fix global mixin + export constructor in vue-loader (fix vue-loader#433) 2016-11-02 18:51:09 -04:00
Evan You
cb1bb75b58 fix global mixin props (fix #3957) 2016-11-02 15:50:57 -04:00
Evan You
4b8eb75c7a fix coverage 2016-11-01 15:53:36 -04:00
Evan You
4314f45022 add umd runtime build for CDN (close #3948) 2016-11-01 13:48:24 -04:00
chengchao
0cd1489e68 .number modifier should work with select, radio, checkbox (fix #4018) (#4022)
* support number modifier in select, radio, checkbox

* add test case

* add ASTModifier type to specify modifiers type

* fix typo

* keep code consistent
2016-11-01 11:50:22 -04:00
sapics
4a3b4c4a43 Small performance improvement in watcher.js (#4069)
* Minor minification in codegen/index.js

* Small performance improvement in watcher.js

* Use a faster return pattern in watcher.js (@HerringtonDarkholme suggestion)
2016-11-01 11:48:47 -04:00
Phan An
a632d60147 Check and warn for falsy class names (fixes #4050) (#4051)
This commit adds a check for falsy names (null or empty string) before
attempting to add or remove them, to prevent a DOM exception. A warning
will also be triggered if in development env.
2016-11-01 11:30:43 -04:00
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
b51b9eae4d bump eslint config 2016-10-31 16:28:38 -04:00
Evan You
3fef65c742 fix vuejsjob links 2016-10-31 13:06:41 -04:00
Evan You
cca4469c38 update backers 2016-10-31 12:47:37 -04:00
Pavel Vorona
20f7a06d69 Inline export for consistency (#4066) 2016-10-31 11:54:58 -04:00
Eduardo San Martin Morote
0d35aa5f21 Fix links on vue-template-compiler README (#4021) 2016-10-24 20:52:11 +08:00
Brandon Max
defd45ccba Typo fix: optimizier -> optimizer (#4015) 2016-10-24 14:25:07 +02: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
Steve Shreeve
5f8ae401d4 minor typos (#4011) 2016-10-22 12:23:59 +08:00
peisong
9c91190b40 Fix typos. (#3956) 2016-10-19 17:21:22 +02:00