Commit Graph

772 Commits

Author SHA1 Message Date
Evan You
6a06b0dec0 include eslint during dev 2016-05-25 16:03:22 -04:00
kazuya kawaguchi
a6ac886f2c
add vdom helper 2016-05-25 15:50:00 +09:00
kazuya kawaguchi
31c63559ed
add eslint ignore for test 2016-05-25 15:43:12 +09:00
kazuya kawaguchi
02cdbd2dbb
add patch tests
ref: #2872
2016-05-25 15:42:39 +09:00
Evan You
cb915d0120 fix linting issues 2016-05-24 20:52:59 -04:00
Evan You
5594a7cd3d tests for v-bind object 2016-05-24 20:51:01 -04:00
Evan You
8d229b2442 support v-bind on objects 2016-05-24 20:41:06 -04:00
Evan You
54e648e49f include patch process in watcher getter to ensure correct dep collection for deep updates 2016-05-24 19:53:58 -04:00
Evan You
49b62889c6 tweaks 2016-05-24 19:24:58 -04:00
Evan You
7f85acb4e5 expose oldValue on directive bindings 2016-05-24 18:28:17 -04:00
Evan You
6195742c2b fix v-show transition on appear 2016-05-24 18:12:10 -04:00
Evan You
8c8eaea0fb restructure global api tests + ensure global mixins work regardless of constructor creation time 2016-05-24 14:12:10 -04:00
Bartek
7d55af6b6a Delimiters tests (#2948)
* delimiters spec

* delete Vue.options.delimiters
2016-05-24 13:32:03 -04:00
Evan You
d263bb237a adjust directive hook signature to expose all information 2016-05-24 13:17:19 -04:00
Evan You
48f22c9b17 fix flow error 2016-05-24 00:27:18 -04:00
Evan You
0a15d9ee27 add root element warnings 2016-05-23 19:03:02 -04:00
Evan You
df73cbf0a8 remove v-bind:style important test case due to phantomjs inconsistency 2016-05-23 19:02:46 -04:00
Evan You
c972b80cd8 fix delimiters caching (fix #2940) 2016-05-23 18:09:34 -04:00
kazuya kawaguchi
30c82195d1 add create-element tests (#2930) 2016-05-23 16:32:48 -04:00
Brendan Bowidas
93bfc9baa7 Unit tests for v-bind:style (#2932)
* begin unit tests for v-bind:style

* add unit tests for v-bind:style directive
2016-05-23 16:30:58 -04:00
Evan You
82c76175ec use extend instead of Object.assign() since the latter is not avaialble in phantomjs 2016-05-20 11:46:51 -04:00
Evan You
f5297358af fix linting problems 2016-05-20 11:42:58 -04:00
Evan You
9d3479a76c rearrange option tests 2016-05-20 11:41:26 -04:00
Blake Newman
79b29f7ba4 added ref directive tests (#2892) 2016-05-20 11:36:29 -04:00
Evan You
acd712d54d fix ref codegen 2016-05-20 11:36:14 -04:00
Evan You
af0bf2a886 async component tests 2016-05-19 23:43:05 -04:00
Evan You
3245ee6fe4 fix root mount with emptyNode 2016-05-19 23:36:35 -04:00
Evan You
600ebfbaa4 simplify compiler tests 2016-05-19 23:15:58 -04:00
kazuya kawaguchi
0f46d950ec add create-component tests (#2928)
ref: #2872
2016-05-19 14:01:30 -04:00
Evan You
837853d95a better inferring of component names in warnings 2016-05-19 13:58:11 -04:00
Evan You
78331451fa improve watcher evaluation error warning 2016-05-19 13:34:16 -04:00
Evan You
59e92a58c5 screw ie8 2016-05-19 12:52:47 -04:00
Evan You
6fe268874c improve codegen for smaller generated code size 2016-05-18 20:57:51 -04:00
kazuya kawaguchi
680baf846e add codegen tests (#2894)
ref #2872
2016-05-18 13:18:31 -04:00
Evan You
f8ece6144a improve waitForUpdate() syntax 2016-05-18 13:08:14 -04:00
Evan You
0b1460d4d5 add csp warning 2016-05-18 12:42:01 -04:00
Blake Newman
8e35604dab added pre directive tests (#2891) 2016-05-18 01:35:13 -04:00
Evan You
19495df45a use babel-plugin-coverage instead 2016-05-18 01:16:09 -04:00
Evan You
ae7becf741 remove test.js 2016-05-17 12:57:32 -04:00
Evan You
39e42f503c add vm annotation in init 2016-05-17 10:37:20 -04:00
Jinjiang
2e8dfe5d9a revert _init method for Vuex (#2886) 2016-05-17 09:58:24 -04:00
Evan You
36a32e4466 tweaks based on #2885 2016-05-16 21:29:50 -04:00
Evan You
fd6944a597 small tweak for coverage 2016-05-16 21:03:02 -04:00
Jinjiang
1d45c4b9e9 extract style/class/transition as web platform compiler modules (#2885)
* extract style/class/transition as web platform compiler modules

* fixed genData bug

* made module.staticKeys optional in compiler

* changed module.genData just return additional data in compiler

* cached genStaticKeys in compiler optimizer
2016-05-16 21:02:13 -04:00
Evan You
94d186b095 update ssr benchmark 2016-05-16 18:26:25 -04:00
Evan You
da4124c4ca unit tests for v-bind:class 2016-05-16 18:18:51 -04:00
Blake Newman
4618914ceb Added benchmark for SSR (#2842)
- Includes `renderToStream` and `renderToString`
- Added SSR benchmark README.md
- Added npm `bench:ssr` script
- Renders table with 1000 rows with 10 columns (10 thousand components)
2016-05-16 16:29:08 -04:00
Evan You
b67143a5b8 fix optimizer isStatic check 2016-05-16 15:50:45 -04:00
Evan You
3573ffff1f refine ast nodes with disjoint union type 2016-05-16 15:28:10 -04:00
Evan You
c908352d7c fix node-ops type declaration 2016-05-16 12:58:49 -04:00