Commit Graph

866 Commits

Author SHA1 Message Date
Evan You 94cf00d209 apply csp patch 2016-09-27 16:46:08 -04:00
Evan You 2268c51936 fix tests 2016-09-27 15:45:13 -04:00
Evan You aacf90a13f revert #3217 and warn v-for + v-if mixed usage (fix #3754) 2016-09-27 15:39:15 -04:00
defcc eca73f2f51 fix directive sort compare (#3776)
* fix directive sort compare

* fix directive sort compare. and update  normal directives test case.
2016-09-27 14:37:50 -04:00
Evan You 3b7b0007e7 bump deps 2016-09-23 15:41:38 -04:00
defcc b2ab9fa1b0 use a simple expression parser instead of regexp to parse directive (#3734) 2016-09-23 11:03:17 -04:00
katashin a4396b9f07 Fix broken todomvc test (#3701)
* fix broken todomvc test

* bump casperjs
2016-09-19 12:10:28 -04:00
Anirudh Sanjeev b8f730ce98 Handle back-ticks in expression (#3292) 2016-07-22 13:19:31 -04:00
Evan You c289a7e240 make v-model checkbox updates replace the bound array (fix #3307) 2016-07-22 13:17:27 -04:00
kazuya kawaguchi c17e3876bf fix $refs updateing (#3217)
ref: #3204
2016-07-05 11:08:13 -04:00
kazuya kawaguchi a683e0f182 fix props validation fails (#3183) (#3193) 2016-06-30 23:11:48 -04:00
Evan You 547a64e9b9 fix single-letter hyphenated props (fix #3187) 2016-06-30 11:28:18 -04:00
Alex 453565e501 Fixed: the "pluralize" filter with multi arguments, when selected argument is empty string (#3101) 2016-06-18 10:57:27 -04:00
Evan You d5c46b5555 fix multi-line inside HTML interpolations (fix #3062) 2016-06-16 18:16:39 -04:00
Evan You 4d4059b48f improve expression parser literal check 2016-06-16 17:03:20 -04:00
Phan An 00dc106f7d Add a fail test case (#2712) 2016-06-16 16:59:12 -04:00
Evan You aab74bd7ce handle v-model select initial value edge cases in IE (fix #2983) 2016-06-16 16:30:42 -04:00
Evan You fbf4580b20 fix name option test case 2016-06-13 11:23:29 -04:00
kazuya kawaguchi 12cd46dc1a fix 'name' option issue (#3040)
ref: #3039
2016-06-08 12:18:03 -04:00
Eduardo San Martin Morote 17690bf0cf Fix missing removal of v-transition class (#3033)
Fix #2972
2016-06-04 10:21:43 -04:00
Denis Karabaza 7059c15d90 Fix handling comments when template has no tags (#3008) 2016-06-01 18:48:21 -04:00
katashin 32c051113d Allow extended Vue constructors as the mixins option (#2957) 2016-05-26 11:36:47 -04:00
Denis Karabaza 2aa0087c43 Warn if coerce is not a function (#2929) 2016-05-20 11:47:31 -04:00
Eduardo San Martin Morote 48c76e7a40 Fix json filter call with 0 as a parameter (#2890)
Fix #2888
2016-05-17 11:43:38 -04:00
kazuya kawaguchi 1b82ff301b Fix eslint error
* upgrade eslint

* fix eslint error
2016-05-11 11:30:16 -04:00
kazuya kawaguchi c6d2d71303 fix syntax (#2848) 2016-05-11 10:57:51 -04:00
Evan You bd8c46109e also check iframes in inDoc (fix #2831) 2016-05-10 15:36:21 -04:00
Evan You e296646624 ensure batcher depletes all queues (fix #2821) 2016-05-10 14:26:00 -04:00
Evan You c0cd3e117e update eslint config, fix test case 2016-05-07 17:52:41 -04:00
Evan You dcf1fdebc1 fix extends test 2016-05-07 15:48:03 -04:00
Evan You f1bf59d97b Merge branch 'patch-1' of git://github.com/pespantelis/vue into extends 2016-05-07 15:03:33 -04:00
Evan You 57c27c45e8 fix lint & coverage 2016-05-06 15:36:29 -04:00
Evan You e6291c22ed minor edits 2016-05-06 15:34:55 -04:00
Evan You ff56802491 use innerHTML from template nodes for consistent behavior across browesrs (fix #2805) 2016-05-06 15:33:08 -04:00
Evan You 81c195f31d fix coverage 2016-05-05 18:53:58 -04:00
Evan You 6ce19be505 test for v-for frozen object warning 2016-05-05 18:49:09 -04:00
Evan You 5bbb5affa9 fix slot spec syntax 2016-05-05 18:46:15 -04:00
Evan You e2ef3e8de2 default slot should use fallback content if it has only whitespace (fix #2723) 2016-05-05 11:54:05 -04:00
Evan You f536ebedca fix test syntax 2016-05-05 11:01:20 -04:00
Evan You b5c1bf604d do not merge empty class on component placeholder (fix #2789) 2016-05-04 13:17:47 -04:00
Pantelis Peslis 8ff88a3ea2 The extends option supports an extended constructor 2016-04-27 22:34:53 +03:00
Pantelis Peslis d833cba2ee Add an option to extend a component (#2701) 2016-04-26 23:38:21 -04:00
Jinjiang 58b076b770 ci bugfix (#2730) 2016-04-26 23:37:58 -04:00
Jinjiang a821faf294 fixed Vue.delete(vm, key) (#2731)
* fixed Vue.delete(vm, key) bug

* rollback to es5 syntax in test case
2016-04-26 01:10:55 -04:00
Evan You c94d04da46 warn against incorrect propsData usage 2016-04-18 13:39:25 -04:00
Evan You 9f6c23f8c4 add "propsData" option 2016-04-18 13:34:15 -04:00
Phan An a0624f4a47 Add support for decimal places in currency filter (#2676)
Currently the "currency" filter only accepts one argument: the currency
symbol. The number of decimal places is fixed as 2. This can cause
troubles with several currencies out there whose number of decimal places
can be 0 (e.g. Japanese Yen or Vietnamese Dong) or 3 (e.g. Jordanian
Dinar).
This commit modifies the filter to accept an extra optional argument:
decimal places, which defaults to 2. With this, one can write `{{ 1234 |
currency '¥' 0 }}` to properly display a Yen value. Backward
compatibility is maintained.
2016-04-18 13:23:54 -04:00
Blake Newman 25c84769c6 [Fix] [ISSUE-2687] Fix data functions being called twice. (#2689)
- Added test for checking prop to data clash
- Added test to ensure data function is only called once per strut
- Removed this._runtimeData uses 'data' for prop to data clash check
2016-04-18 13:20:53 -04:00
flytreeleft e314db1af1 Fix error when recursively traverse an object (#2686)
* fix 'Maximum call stack size exceeded' when recursively traverse an object

* remove semicolon

* simplify  assignment expression

* add unit test for circular references detected in Watcher#traverse
2016-04-17 00:18:17 -04:00
Evan You cfad4234dd fix :style single value test in Firefox 2016-04-17 00:17:18 -04:00