Commit Graph

1276 Commits

Author SHA1 Message Date
勾三股四
4f84aefe43 support v-model in weex (#4178)
* [wip] supported v-model in Weex

* fixed v-model in weex

* added test cases for v-model in weex

* used strToRegExp for all test cases in weex

* fixed eslint

* fixed parseModel test case
2016-11-12 11:33:51 -05:00
Evan You
69eab86813 remove unnecessary alias 2016-11-11 20:25:11 -05:00
Evan You
cb4854a50e [weex] enable extended constructors to use mixins 2016-11-09 21:19:01 -05:00
Evan You
ddac9761b6 adjust constructor option resolution timing 2016-11-09 18:09:33 -05:00
Evan You
8e810dcfd6 tweak indent 2016-11-09 18:08:27 -05:00
Evan You
1bcc571739 Revert "fix #4041, warn overriding Vue's internal methods (#4111)"
This reverts commit 4078ce9c58.
2016-11-09 16:06:59 -05:00
勾三股四
eb601adb6d fixed deps and README for the 2 packages about weex (#4160) 2016-11-08 21:39:59 -05:00
Evan You
40c85f79a5 [release] weex-vue-framework@2.0.5-weex.1 2016-11-08 11:05:40 -05:00
Evan You
cb13df372a update build and release scripts for weex 2016-11-08 11:03:09 -05:00
Evan You
2f63cc8a14 fix eslint 2016-11-07 17:31:25 -05:00
Evan You
c4252d3f17 fix weex merge flow types 2016-11-07 17:27:46 -05:00
Evan You
ff551029bf wip: fix flow type for weex merge 2016-11-07 16:26:06 -05:00
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