Commit Graph

1296 Commits

Author SHA1 Message Date
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
AlexandreBonneau
1a8720d6ea Fix typo in 'component' (#3978) 2016-10-19 16:33:17 +02:00
AchillesJ
6d31ed255d typo fix (#3963) 2016-10-17 11:30:22 +02:00
Evan You
7c9575bffe improve attr interpolation warning 2016-10-17 10:51:50 +08:00
leon lau
341d0a0357 fixed #3942 (#3947)
* fixed #3942

* fixed #3942
2016-10-17 10:43:39 +08:00
Guido Bouman
8ba420c359 Fix using one delay to control all transitions. (#3932)
* Fix using one delay to control all transitions.

Vue transitions have wrong timing when having CSS like the following:

```
.[transition-name]-enter-active, .[transition-name]-leave-active {
  transition: opacity 0.8s ease, transform 0.7s ease;
  transition-delay: 0.4s;
}
```

Which in turn bubbles errors to the console.

* Fix linting.
2016-10-17 10:36:22 +08:00
Chris Fritz
4f5a47d750 fix root v-else not rendering in prod and switched examples to minified vue for better prod coverage (#3943)
* fix root v-else not rendering in production and switched examples to minified vue for better prod coverage

* add dev build comment to examples

* convert tabs to spaces in todomvc example for consistency
2016-10-14 09:27:54 -04:00
defcc
95bf0c000e Add guide for PR title (#3936)
* update PR guide for a better release log

* detail on pr title. and fix typo
2016-10-14 09:25:09 -04:00
Evan You
3bbac7e9f5 [release] 2.0.3 2016-10-13 05:27:28 -04:00
Evan You
1e6a8f568b [build] 2.0.3 2016-10-13 05:27:27 -04:00
Evan You
3f8fa43819 fix duplicate attribute test case in IE 2016-10-13 05:19:51 -04:00
Evan You
d362d64633 update entities encoding/decoding (fix #3899) 2016-10-13 05:05:35 -04:00
Evan You
a675221bb6 should not generate children for "is" component with inline-template (fix #3931) 2016-10-13 03:42:27 -04:00
Evan You
30bd34e965 disable duplicate attribute warning in IE (close #3929) 2016-10-13 03:35:19 -04:00
Evan You
ff178ccc7e fix directive rawName generation for raw render functions (fix #3930) 2016-10-13 03:18:21 -04:00
Evan You
8823fcc7a4 expose preserveWhitespace option in template compiler 2016-10-13 03:17:47 -04:00
Evan You
6e96a657d8 adjust component destroy logic (really fix #3882) 2016-10-12 17:43:08 -04:00
Evan You
6ab10c0559 fix v-for list auto-keying with nested <template> (fix #3913) 2016-10-12 17:12:12 -04:00
Evan You
ea39d9f6b8 fix static node v-for nested check 2016-10-12 16:31:56 -04:00