Evan You
29f6902d19
coverage
2017-02-21 13:25:57 -05:00
Evan You
0dd158fbaf
bump deps
2017-02-21 13:14:39 -05:00
Evan You
689c107de4
feat: config.performance
2017-02-20 18:35:04 -05:00
Evan You
f916bcf371
feat: provide/inject ( close #4029 )
2017-02-20 16:58:24 -05:00
Evan You
1861ee9570
feat: renderError
2017-02-20 00:16:40 -05:00
Evan You
a1d5b22e34
throw error in ssr so it can be captured properly by renderer
2017-02-19 23:21:29 -05:00
Evan You
3c0cdb5535
improve error handling for lifecycle hooks
2017-02-19 23:21:29 -05:00
Evan You
3566d9296d
update karma configs to use explicit plugins
2017-02-19 23:21:29 -05:00
Hanks
3e523e6d57
[weex] convert kebab-case attribute name to camelCase in compiler ( #4964 )
...
* [weex] add test case for camelize props
* [weex] add test case for append props
* [weex] camelize component attribute name
* [weex] more reliable camelize functions
2017-02-18 19:36:00 -05:00
Chris Casola
3dc9338479
Warn when defining a method with same name as a prop ( #4950 )
...
* Warn when defining a method with same name as a prop
* update error message
2017-02-18 09:09:27 -05:00
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
2017-02-17 18:56:09 -05:00
M Habib Rohman
2f520ba9ee
fix doc comment typo ( #4954 )
2017-02-17 10:31:45 +01:00
Evan You
7f6c889a88
tweak event modifier codegen
2017-02-16 16:09:15 -05:00
kingwl
0e2dafa74c
support mouse event modifier ( #4866 )
2017-02-16 16:04:04 -05:00
kazuya kawaguchi
f7062b9b75
flowtype reafactoring ( #4945 )
2017-02-16 15:57:59 -05:00
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
2017-02-15 18:39:53 -05:00
Guillaume Chau
0598ab0c64
#4371 - Explicit transition durations ( #4857 )
...
* Add transition explicit duration
* Fix tests for explicit transition duration
* Tweaks & default to milliseconds
* Better tests
* Better test for change value case
* Fix transition duration tests
* Better flow typing
* Fix transition test
* Revert "Fix transition test"
This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
* Fix transition test
Revert "Fix transition test"
This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
Fix transition test
* Better flow types
* Warn message
* Better prop handling
* Better flow typings
* adjustments
2017-02-15 18:37:09 -05:00
Rahul Kadyan
acec8db2c4
[WIP] Support for ref callback ( #4807 )
...
* ✨ Tests for ref callback
* ✨ Support for ref callback
* Add test of inline ref callback
* adjust ref implementation strategy
* fix patch ref registration
* fix tests
* fix flow
* fix test for phantomjs
2017-02-15 17:29:13 -05:00
Evan You
8d88512837
ssr: resolve require() calls relative to bundle ( fix #4936 )
2017-02-15 12:07:07 -05:00
Evan You
6977109051
improve transition-group move detection ( fix #4900 , close #4911 )
2017-02-15 09:59:43 -05:00
Evan You
ef57aa250f
update weex events module
2017-02-14 17:17:21 -05:00
Evan You
05c769bf44
fix .once with other modifiers that prevent execution of a handler ( fix #4846 )
2017-02-14 17:09:37 -05:00
Evan You
f59aef08e6
further improve end tag check ( close #4408 )
2017-02-14 15:47:40 -05:00
Zephraph
0201d8ca1d
Add foreignObject as a dedicated SVG element ( fixes #4813 ) ( #4926 )
...
* Add foreignObject to isSVG list; Fix for #4813
* Remove extra comma, alphabetize
2017-02-14 14:36:36 -05:00
Zephraph
97d36bc23f
Pass attributes to parseComponent (addresses #4914 ) ( #4925 )
...
* Pass attributes to parseComponent
* Edited source in the right place, added test
* Back out changes made to the generated compiler build file
* Add a few more checks
2017-02-14 14:35:46 -05:00
Herrington Darkholme
01151ce3fa
fix #4872 , use context agnostic Function constructor check ( #4928 )
...
* fix #4872 , use context agnostic Function constructor check
* use getType to check Function Constructor
* fix negation
2017-02-14 13:40:57 -05:00
Evan You
dfaf1265a2
small tweak to filter parser
2017-02-14 13:34:51 -05:00
Riccardo Causo
7259aefbe8
filter division expression with parentheses ( fix #4838 ) ( #4844 )
...
* filter division expression with parentheses (fix #4838 )
* verify also dot and square brackets
* missed a link check sorry for the useless commit
* added + - and _ support
2017-02-14 13:30:11 -05:00
Alexander Sheboltaev
ebe27295df
typings: type-checking WatchHandler -- refining
2017-02-14 13:24:21 -05:00
Alexander Sheboltaev
c662fe09c7
typings: type-checking WatchHandler
...
Makes watch handler argument to be typechecked when the expression is set
as a function.
2017-02-14 13:24:21 -05:00
Evan You
168200a00a
tweak comments
2017-02-14 12:46:42 -05:00
Evan You
e870e6c6af
move props definition to component prototype when possible
2017-02-14 12:20:43 -05:00
Evan You
406352baba
move computed properties definition to component prototype when possible
2017-02-14 12:03:14 -05:00
Evan You
4f6b1014b3
improve $props test case
2017-02-14 11:39:05 -05:00
Evan You
87ffd0da9f
tweaks
2017-02-14 11:39:05 -05:00
Evan You
5fea184d50
$props type improvements
2017-02-14 11:39:05 -05:00
yantene
ef40d1b7cf
add the type of props in typescript definitions
2017-02-14 11:39:05 -05:00
yantene
22f9560c92
add $props
2017-02-14 11:39:05 -05:00
AchillesJ
f763fc2354
small improvements on html-parser ( #4932 )
...
* remove unnecessary code
* not need to capture group when decoding attribute value
* fix eslint
2017-02-14 09:05:00 -05:00
Evan You
9df7870b7f
revert ssr readme edit
2017-02-13 14:46:54 -05:00
Evan You
a7c066eee8
ssr: tweak names
2017-02-13 13:39:39 -05:00
Evan You
a0163cc0b5
update weex-template-compiler deps
2017-02-13 13:34:05 -05:00
Evan You
1c79592524
feat: implement template option for vue-server-renderer
2017-02-13 13:34:05 -05:00
Evan You
e71d70dcb3
tweak build + upgrade flow
2017-02-13 13:33:42 -05:00
Evan You
a5835c2abf
allow turning off production tip via runtime config
2017-02-13 13:31:48 -05:00
Herrington Darkholme
a0042c4435
use vm.Script to avoid reparse ( #4892 )
2017-02-13 13:31:25 -05:00
Eduardo San Martin Morote
7e1d07aad2
Fix JSFiddle links ( #4910 )
...
Use an inline script tag with unpkg to explicitly show what we're
including. It allows to easily test regressions by appending @2.x.x at
the end of the of the link.
It also allows to directly check if the repro is using the latest
version
2017-02-12 18:49:47 -05:00
Phan An
a5a00738b1
Standardize the JSFiddle starter link ( #4890 )
...
* Standardize the JSFiddle starter link
We have two different JSFiddle starter links here, none of which is the version on Gitter.im (which appears to be more aligned with Vue's coding standard i.e. no root `<body>` tag, spacings and such). Modifying this issue template to use the Gitter.im version instead.
* Update JSFiddle link
2017-02-09 17:44:30 -05:00
Evan You
1f4cf63e8a
tweak template compilation error output
2017-02-06 19:50:13 -05:00
Evan You
af619151c6
improve other parser warnings
2017-02-06 19:32:17 -05:00