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
8 years ago
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
8 years ago
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
8 years ago
M Habib Rohman
2f520ba9ee
fix doc comment typo ( #4954 )
8 years ago
Evan You
7f6c889a88
tweak event modifier codegen
8 years ago
kingwl
0e2dafa74c
support mouse event modifier ( #4866 )
8 years ago
kazuya kawaguchi
f7062b9b75
flowtype reafactoring ( #4945 )
8 years ago
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
8 years ago
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
8 years ago
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
8 years ago
Evan You
8d88512837
ssr: resolve require() calls relative to bundle ( fix #4936 )
8 years ago
Evan You
6977109051
improve transition-group move detection ( fix #4900 , close #4911 )
8 years ago
Evan You
ef57aa250f
update weex events module
8 years ago
Evan You
05c769bf44
fix .once with other modifiers that prevent execution of a handler ( fix #4846 )
8 years ago
Evan You
f59aef08e6
further improve end tag check ( close #4408 )
8 years ago
Zephraph
0201d8ca1d
Add foreignObject as a dedicated SVG element ( fixes #4813 ) ( #4926 )
* Add foreignObject to isSVG list; Fix for #4813
* Remove extra comma, alphabetize
8 years ago
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
8 years ago
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
8 years ago
Evan You
dfaf1265a2
small tweak to filter parser
8 years ago
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
8 years ago
Alexander Sheboltaev
ebe27295df
typings: type-checking WatchHandler -- refining
8 years ago
Alexander Sheboltaev
c662fe09c7
typings: type-checking WatchHandler
Makes watch handler argument to be typechecked when the expression is set
as a function.
8 years ago
Evan You
168200a00a
tweak comments
8 years ago
Evan You
e870e6c6af
move props definition to component prototype when possible
8 years ago
Evan You
406352baba
move computed properties definition to component prototype when possible
8 years ago
Evan You
4f6b1014b3
improve $props test case
8 years ago
Evan You
87ffd0da9f
tweaks
8 years ago
Evan You
5fea184d50
$props type improvements
8 years ago
yantene
ef40d1b7cf
add the type of props in typescript definitions
8 years ago
yantene
22f9560c92
add $props
8 years ago
AchillesJ
f763fc2354
small improvements on html-parser ( #4932 )
* remove unnecessary code
* not need to capture group when decoding attribute value
* fix eslint
8 years ago
Evan You
9df7870b7f
revert ssr readme edit
8 years ago
Evan You
a7c066eee8
ssr: tweak names
8 years ago
Evan You
a0163cc0b5
update weex-template-compiler deps
8 years ago
Evan You
1c79592524
feat: implement template option for vue-server-renderer
8 years ago
Evan You
e71d70dcb3
tweak build + upgrade flow
8 years ago
Evan You
a5835c2abf
allow turning off production tip via runtime config
8 years ago
Herrington Darkholme
a0042c4435
use vm.Script to avoid reparse ( #4892 )
8 years ago
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
8 years ago
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
8 years ago
Evan You
1f4cf63e8a
tweak template compilation error output
8 years ago
Evan You
af619151c6
improve other parser warnings
8 years ago
Evan You
cfb4d7c655
improve parser warning for tags with no matching close tag
8 years ago
Evan You
a0a619f611
fix sfc parser hanging on trailing ill-formatted brackets (fix vue-loader/#628)
8 years ago
Evan You
bf1f5f18e2
avoid externals warning in ssr tests
8 years ago
Evan You
f968e6ba3a
fix v-pre end check for unary tags
8 years ago
Eduardo San Martin Morote
ec7fca8495
Fix multiple attr in select with undefined value ( #4859 )
Fix #4855
8 years ago
p(^-^q)
8bf5af8edf
fix `addClass` utlil bug ( #4863 )
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* update test case for `addClass / removeClass` util
8 years ago
kazuya kawaguchi
e853d1994d
add compiler result field ( #4845 )
ref: CompiledResult type at flow/compiler.js
8 years ago
Evan You
12fa1eb01b
update bundleRenderer docs
8 years ago