Commit Graph

429 Commits

Author SHA1 Message Date
Evan You
d6ced71719 prohibit Vue.set/delete on Vue instances 2016-05-12 01:56:01 -04:00
kazuya kawaguchi
64de68b6f5 add observer tests (#2855)
* test: add observer tests

NOTE: bring vue 1.x observer test

* update observer tests
2016-05-12 01:40:50 -04:00
Blake Newman
35440d9856 SSR warn for no VUE_ENV and add tests (#2844)
- Added test coverage for data observation and VUE environment variable
- Moved Test helpers into own folder for reusability
2016-05-12 01:21:53 -04:00
Evan You
efbb3985a9 remove tern, update flowconfig 2016-05-11 23:00:00 -04:00
Evan You
4e4e68d999 include flow check in npm test 2016-05-11 22:57:39 -04:00
Evan You
328bc28482 update build setup for flow 2016-05-11 20:03:18 -04:00
Evan You
8ed2f8e6fb first file annotated! 2016-05-11 19:11:47 -04:00
Evan You
b139cdb854 add flow config 2016-05-11 18:51:15 -04:00
Evan You
07cf6444c6 return this in $mount, make unit tests more consistent 2016-05-11 15:40:50 -04:00
Evan You
4dc42357e4 use _isServer flag to determine whether __path__ should be noop 2016-05-11 13:00:16 -04:00
Evan You
76d06ba422 implement $isServer and ssr observation skipping via env variables 2016-05-10 18:03:30 -04:00
Evan You
5d08de5a2b ensure scheduler depletes all queues 2016-05-10 14:26:35 -04:00
Phan An
e38e494cba Moduralize the noop() function (#2834)
Currently the `noop` function is being declared and used randomly at
places. This commit moduralizes it (à la lodash) for more DRY code.
2016-05-10 12:42:43 -04:00
Evan You
5a5c7eb39d ready -> mounted 2016-05-10 11:26:00 -04:00
Evan You
2021b1f36f layout unit test files 2016-05-09 18:26:29 -04:00
Evan You
35efe4e8d9 rename batcher to scheduler 2016-05-09 18:26:19 -04:00
Evan You
6593be9f75 update unit tests convention + basic component tests 2016-05-09 18:08:18 -04:00
Evan You
faa8245209 <render> method should use dynamic binding 2016-05-09 17:31:27 -04:00
Evan You
19f3fab1c4 add tern config file 2016-05-09 14:42:58 -04:00
Evan You
097bb2e4e8 tweak render stream implementation 2016-05-08 18:11:19 -04:00
Evan You
8172e7e257 fix ssr tests 2016-05-08 17:31:59 -04:00
Evan You
8f5a32b91c tweak render logic 2016-05-08 17:27:13 -04:00
Evan You
498448284a tweak ssr async resolve, revert $forceUpdate change 2016-05-08 16:59:52 -04:00
Evan You
2b7c26d108 fix tests 2016-05-08 16:21:42 -04:00
Evan You
430fe64bb5 only create render function once 2016-05-08 15:02:24 -04:00
Evan You
270b0ac021 Merge branch 'ssr-improvements' of git://github.com/blake-newman/vue into ssr 2016-05-08 14:51:11 -04:00
Evan You
c556190ba1 fix ssr test 2016-05-08 00:58:29 -04:00
Evan You
c1bb12a36c fix reorder benchmark after track-by change 2016-05-08 00:46:23 -04:00
Evan You
96f02660a2 use classes 2016-05-08 00:43:42 -04:00
Evan You
be2e79df27 fix ssr tests 2016-05-08 00:14:44 -04:00
Evan You
f01e859d17 bump build babel preset 2016-05-08 00:12:56 -04:00
Evan You
27033b7589 update build script and npm files 2016-05-07 22:26:13 -04:00
Evan You
3be4071d59 bump babel version 2016-05-07 22:22:18 -04:00
Evan You
9505d81115 add warnings for options with restrictions 2016-05-07 18:18:59 -04:00
Evan You
b6d02d234b support extends option 2016-05-07 18:10:29 -04:00
Evan You
5fb1a549d2 make attr behavior more consistent + fix tests 2016-05-07 16:27:33 -04:00
Takuya Tejima
ae78813606 [Vue 2.0] Fix BooleanAttr & EnumeratedAttr serialization (#2810)
* fix attr serialization

* Add attribute test cases
2016-05-07 15:51:46 -04:00
Blake Newman
916bbfd766 improved resolving mechanism for resolved components 2016-05-07 20:08:43 +01:00
Blake Newman
d89c674cb5 added manual rendering 2016-05-07 19:20:43 +01:00
Blake Newman
a233e4dbfa improved SSR rendering
- Reduced duplicated code
- Added more test coverage
- Added syncronous component resolving support
- Fixed component lifecycle
- Added raw render method, to allow custom streaming possibilities
2016-05-07 17:56:18 +01:00
Evan You
4ff27c9ab7 remove v-else support for v-show 2016-05-06 15:51:38 -04:00
Evan You
d1abc2fe2e use eslint-config-vue 2016-05-05 19:11:15 -04:00
Blake Newman
5ec4246472 updated dependencies to latest, with better control ranges (#2780) 2016-05-05 19:08:12 -04:00
Evan You
5516f37b8a improve batching strategy 2016-05-05 15:46:36 -04:00
Evan You
9cc9393e73 fix default slot fallback on whitespace 2016-05-05 14:46:30 -04:00
Evan You
68372ea26b update track-by usage 2016-05-04 16:48:47 -04:00
Evan You
1c09f63631 fix value prop handling 2016-05-04 16:47:00 -04:00
Takuya Tejima
49d5f2f393 Suppress a warning 'Unknown custom element' with SSR <img> tag 2016-05-04 11:36:16 -04:00
Hawk
9a6d80c133 comment spelling errors (#2800) 2016-05-04 09:36:46 +02:00
Evan You
014ac35172 fix eslint again 2016-04-29 20:12:01 -04:00