Skip to content

Commit d8e9e2e

Browse files
committed
[release] 1.0.0
1 parent df71954 commit d8e9e2e

File tree

4 files changed

+44
-12
lines changed

4 files changed

+44
-12
lines changed

dist/vue.js

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v1.0.0-rc.2
2+
* Vue.js v1.0.0
33
* (c) 2015 Evan You
44
* Released under the MIT License.
55
*/
@@ -146,9 +146,16 @@ return /******/ (function(modules) { // webpackBootstrap
146146
extend(p, __webpack_require__(65))
147147
extend(p, __webpack_require__(66))
148148

149-
Vue.version = '1.0.0-rc.2'
149+
Vue.version = '1.0.0'
150150
module.exports = _.Vue = Vue
151151

152+
/* istanbul ignore if */
153+
if (true) {
154+
if (_.inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__) {
155+
window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit('init', Vue)
156+
}
157+
}
158+
152159

153160
/***/ },
154161
/* 1 */
@@ -1875,7 +1882,6 @@ return /******/ (function(modules) { // webpackBootstrap
18751882
}
18761883
def = components[key]
18771884
if (_.isPlainObject(def)) {
1878-
def.name = def.name || key
18791885
components[key] = _.Vue.extend(def)
18801886
}
18811887
}
@@ -5037,7 +5043,7 @@ return /******/ (function(modules) { // webpackBootstrap
50375043
'false-value': '_falseValue'
50385044
}
50395045

5040-
// check for attribtues that prohibit interpolations
5046+
// check for attributes that prohibit interpolations
50415047
var disallowedInterpAttrRE = /^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/
50425048

50435049
module.exports = {
@@ -5077,8 +5083,8 @@ return /******/ (function(modules) { // webpackBootstrap
50775083
// warn style
50785084
if (attr === 'style') {
50795085
_.warn(
5080-
raw + 'interpolation in "style" attribtue will cause ' +
5081-
'the attribtue to be discarded in Internet Explorer. ' +
5086+
raw + 'interpolation in "style" attribute will cause ' +
5087+
'the attribute to be discarded in Internet Explorer. ' +
50825088
'Use v-bind:style instead.'
50835089
)
50845090
}
@@ -5500,6 +5506,7 @@ return /******/ (function(modules) { // webpackBootstrap
55005506
resolveComponent: function (id, cb) {
55015507
var self = this
55025508
this.pendingComponentCb = _.cancellable(function (Component) {
5509+
self.ComponentName = id
55035510
self.Component = Component
55045511
cb()
55055512
})
@@ -5563,6 +5570,7 @@ return /******/ (function(modules) { // webpackBootstrap
55635570
if (this.Component) {
55645571
// default options
55655572
var options = {
5573+
name: this.ComponentName,
55665574
el: templateParser.clone(this.el),
55675575
template: this.inlineTemplate,
55685576
// make sure to add the child with correct parent
@@ -5686,6 +5694,11 @@ return /******/ (function(modules) { // webpackBootstrap
56865694
transition: function (target, cb) {
56875695
var self = this
56885696
var current = this.childVM
5697+
// for devtool inspection
5698+
if (true) {
5699+
if (current) current._inactive = true
5700+
target._inactive = false
5701+
}
56895702
this.childVM = target
56905703
switch (self.params.transitionMode) {
56915704
case 'in-out':
@@ -6884,6 +6897,13 @@ return /******/ (function(modules) { // webpackBootstrap
68846897
runBatcherQueue(queue)
68856898
internalQueueDepleted = true
68866899
runBatcherQueue(userQueue)
6900+
// dev tool hook
6901+
/* istanbul ignore if */
6902+
if (true) {
6903+
if (_.inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__) {
6904+
window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit('flush')
6905+
}
6906+
}
68876907
resetBatcherState()
68886908
}
68896909

@@ -8181,6 +8201,7 @@ return /******/ (function(modules) { // webpackBootstrap
81818201
/***/ function(module, exports, __webpack_require__) {
81828202

81838203
var mergeOptions = __webpack_require__(1).mergeOptions
8204+
var uid = 0
81848205

81858206
/**
81868207
* The main init sequence. This is called for every
@@ -8208,6 +8229,9 @@ return /******/ (function(modules) { // webpackBootstrap
82088229
this._watchers = [] // all watchers as an array
82098230
this._directives = [] // all directives
82108231

8232+
// a uid
8233+
this._uid = uid++
8234+
82118235
// a flag to avoid this being observed
82128236
this._isVue = true
82138237

@@ -9324,6 +9348,11 @@ return /******/ (function(modules) { // webpackBootstrap
93249348
this._host = host
93259349
this._scope = scope
93269350
this._frag = frag
9351+
// store directives on node in dev mode
9352+
if (("development") !== 'production' && this.el) {
9353+
this.el._vue_directives = this.el._vue_directives || []
9354+
this.el._vue_directives.push(this)
9355+
}
93279356
}
93289357

93299358
/**
@@ -9583,6 +9612,9 @@ return /******/ (function(modules) { // webpackBootstrap
95839612
unwatchFns[i]()
95849613
}
95859614
}
9615+
if (("development") !== 'production' && this.el) {
9616+
this.el._vue_directives.$remove(this)
9617+
}
95869618
this.vm = this.el = this._watcher = this._listeners = null
95879619
}
95889620
}

dist/vue.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue",
3-
"version": "1.0.0-rc.2",
3+
"version": "1.0.0",
44
"author": "Evan You <[email protected]>",
55
"license": "MIT",
66
"description": "Simple, Fast & Composable MVVM for building interative interfaces",

src/vue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ extend(p, require('./api/dom'))
8585
extend(p, require('./api/events'))
8686
extend(p, require('./api/lifecycle'))
8787

88-
Vue.version = '1.0.0-rc.2'
88+
Vue.version = '1.0.0'
8989
module.exports = _.Vue = Vue
9090

9191
/* istanbul ignore if */

0 commit comments

Comments
 (0)