vue 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -0
- package/dist/vue.common.js +307 -143
- package/dist/vue.js +8884 -8720
- package/dist/vue.min.js +4 -4
- package/dist/vue.min.js.map +1 -1
- package/package.json +15 -14
- package/src/compiler/compile-props.js +10 -1
- package/src/compiler/compile.js +41 -10
- package/src/compiler/transclude.js +3 -0
- package/src/directives/public/for.js +28 -19
- package/src/directives/public/model/checkbox.js +6 -5
- package/src/filters/array-filters.js +1 -1
- package/src/index.js +1 -1
- package/src/instance/internal/init.js +1 -1
- package/src/parsers/directive.js +167 -59
- package/src/parsers/expression.js +1 -1
- package/src/util/env.js +43 -25
- package/src/util/lang.js +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
<p align="center"><a href="http://vuejs.org" target="_blank"><img width="100"src="http://vuejs.org/images/logo.png"></a></p>
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://circleci.com/gh/vuejs/vue/tree/master"><img src="https://img.shields.io/circleci/project/vuejs/vue/master.svg" alt="Build Status"></a>
|
|
5
|
+
<a href="https://codecov.io/github/vuejs/vue?branch=master"><img src="https://img.shields.io/codecov/c/github/vuejs/vue/dev.svg" alt="Coverage Status"></a>
|
|
6
|
+
<a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/dt/vue.svg" alt="Downloads"></a>
|
|
7
|
+
<a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/v/vue.svg" alt="Version"></a>
|
|
8
|
+
<a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/l/vue.svg" alt="License"></a>
|
|
9
|
+
<br>
|
|
10
|
+
<a href="https://saucelabs.com/u/vuejs"><img src="https://saucelabs.com/browser-matrix/vuejs.svg" alt="Sauce Test Status"></a>
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
## Supporting Vue.js
|
|
14
|
+
|
|
15
|
+
Vue.js is an MIT-licensed open source project. Its ongoing development is made possible thanks to the support by these awesome [backers](https://github.com/vuejs/vue/blob/dev/backers.md). If you'd like to join them, check out [Vue.js' Patreon campaign](https://www.patreon.com/evanyou).
|
|
16
|
+
|
|
17
|
+
<p align="center">
|
|
18
|
+
<b>Special thanks to the generous sponsorship by:</b>
|
|
19
|
+
<br><br>
|
|
20
|
+
<a href="http://www.itunescn.com/" style="">
|
|
21
|
+
<img width="120px" src="https://www.zymmm.com/content/images/2016/05/itunescn-logo-4.png">
|
|
22
|
+
</a>
|
|
23
|
+
<br><br>
|
|
24
|
+
<a href="https://jsfiddle.net/">
|
|
25
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/jsfiddle.png">
|
|
26
|
+
</a>
|
|
27
|
+
<br><br>
|
|
28
|
+
<a href="https://laravel.com/">
|
|
29
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/laravel.png">
|
|
30
|
+
</a>
|
|
31
|
+
<br><br>
|
|
32
|
+
<a href="https://chaitin.cn/">
|
|
33
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/chaitin.png">
|
|
34
|
+
</a>
|
|
35
|
+
<br><br>
|
|
36
|
+
<a href="https://htmlburger.com/">
|
|
37
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/htmlburger.png">
|
|
38
|
+
</a>
|
|
39
|
+
<br><br>
|
|
40
|
+
<a href="https://starter.someline.com/">
|
|
41
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/someline.png">
|
|
42
|
+
</a>
|
|
43
|
+
<br><br>
|
|
44
|
+
<a href="http://gold.xitu.io/?utm_source=vuejs&utm_medium=image&utm_content=juejin&utm_campaign=q3_website">
|
|
45
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/juejin.png">
|
|
46
|
+
</a>
|
|
47
|
+
<br><br>
|
|
48
|
+
<a href="http://monterail.com/" target="_blank">
|
|
49
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/monterail.png">
|
|
50
|
+
</a>
|
|
51
|
+
<br><br>
|
|
52
|
+
<a href="https://www.trisoft.ro/" target="_blank">
|
|
53
|
+
<img width="120px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/trisoft.png">
|
|
54
|
+
</a>
|
|
55
|
+
</p>
|
|
56
|
+
|
|
57
|
+
## Intro
|
|
58
|
+
|
|
59
|
+
Vue.js is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API. Core features include:
|
|
60
|
+
|
|
61
|
+
- [Dead simple, unobtrusive reactivity using plain JavaScript objects.](http://vuejs.org/guide/overview.html#Reactive-Data-Binding)
|
|
62
|
+
- [Component-oriented development style with tooling support](http://vuejs.org/guide/overview.html#Component-System)
|
|
63
|
+
- Lean and extensible core
|
|
64
|
+
- [Flexible transition effect system](http://vuejs.org/guide/transitions.html)
|
|
65
|
+
- Fast without the need for complex optimization
|
|
66
|
+
|
|
67
|
+
Note that Vue.js only supports [ES5-compliant browsers](http://kangax.github.io/compat-table/es5/) (IE8 and below are not supported). To check out live examples and docs, visit [vuejs.org](http://vuejs.org).
|
|
68
|
+
|
|
69
|
+
## Questions
|
|
70
|
+
|
|
71
|
+
For questions and support please use the [Gitter chat room](https://gitter.im/vuejs/vue) or [the official forum](http://forum.vuejs.org). The issue list of this repo is **exclusively** for bug reports and feature requests.
|
|
72
|
+
|
|
73
|
+
## Issues
|
|
74
|
+
|
|
75
|
+
Please make sure to read the [Issue Reporting Checklist](https://github.com/vuejs/vue/blob/dev/CONTRIBUTING.md#issue-reporting-guidelines) before opening an issue. Issues not conforming to the guidelines may be closed immediately.
|
|
76
|
+
|
|
77
|
+
## Contribution
|
|
78
|
+
|
|
79
|
+
Please make sure to read the [Contributing Guide](https://github.com/vuejs/vue/blob/dev/CONTRIBUTING.md) before making a pull request. If you have a Vue-related project/component/tool, add it with a pull-request to [this curated list](https://github.com/vuejs/awesome-vue)!
|
|
80
|
+
|
|
81
|
+
## Changelog
|
|
82
|
+
|
|
83
|
+
Details changes for each release are documented in the [release notes](https://github.com/vuejs/vue/releases).
|
|
84
|
+
|
|
85
|
+
## Stay In Touch
|
|
86
|
+
|
|
87
|
+
- For latest releases and announcements, follow on Twitter: [@vuejs](https://twitter.com/vuejs)
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
[MIT](http://opensource.org/licenses/MIT)
|
|
92
|
+
|
|
93
|
+
Copyright (c) 2013-2016 Evan You
|