Skip to content

Commit

Permalink
build: build 2.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 11, 2019
1 parent e7d49cd commit 1489b99
Show file tree
Hide file tree
Showing 17 changed files with 180 additions and 70 deletions.
28 changes: 21 additions & 7 deletions dist/vue.common.dev.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.4
* Vue.js v2.6.5
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2539,8 +2539,14 @@ function normalizeScopedSlots (
} else if (slots._normalized) {
// fast path 1: child component re-render only, parent did not change
return slots._normalized
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
// fast path 2: stable scoped slots, only need to normalize once
} else if (
slots.$stable &&
prevSlots &&
prevSlots !== emptyObject &&
Object.keys(normalSlots).length === 0
) {
// fast path 2: stable scoped slots w/ no normal slots to proxy,
// only need to normalize once
return prevSlots
} else {
res = {};
Expand All @@ -2566,8 +2572,8 @@ function normalizeScopedSlots (
}

function normalizeScopedSlot(normalSlots, key, fn) {
var normalized = function (scope) {
var res = fn(scope || {});
var normalized = function () {
var res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode
: normalizeChildren(res);
Expand Down Expand Up @@ -5373,7 +5379,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.6.4';
Vue.version = '2.6.5';

/* */

Expand Down Expand Up @@ -7459,9 +7465,17 @@ function add$1 (
var original = handler;
handler = original._wrapper = function (e) {
if (
// no bubbling, should always fire.
// this is just a safety net in case event.timeStamp is unreliable in
// certain weird environments...
e.target === e.currentTarget ||
// event is fired after handler attachment
e.timeStamp >= attachedTimestamp ||
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
e.timeStamp === 0 ||
// #9448 bail if event is fired in another document in a multi-page
// electron/nw.js app
// electron/nw.js app, since event.timeStamp will be using a different
// starting reference
e.target.ownerDocument !== document
) {
return original.apply(this, arguments)
Expand Down
4 changes: 2 additions & 2 deletions dist/vue.common.prod.js

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions dist/vue.esm.browser.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.4
* Vue.js v2.6.5
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2567,8 +2567,14 @@ function normalizeScopedSlots (
} else if (slots._normalized) {
// fast path 1: child component re-render only, parent did not change
return slots._normalized
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
// fast path 2: stable scoped slots, only need to normalize once
} else if (
slots.$stable &&
prevSlots &&
prevSlots !== emptyObject &&
Object.keys(normalSlots).length === 0
) {
// fast path 2: stable scoped slots w/ no normal slots to proxy,
// only need to normalize once
return prevSlots
} else {
res = {};
Expand All @@ -2594,8 +2600,8 @@ function normalizeScopedSlots (
}

function normalizeScopedSlot(normalSlots, key, fn) {
const normalized = scope => {
let res = fn(scope || {});
const normalized = function () {
let res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode
: normalizeChildren(res);
Expand Down Expand Up @@ -5404,7 +5410,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.6.4';
Vue.version = '2.6.5';

/* */

Expand Down Expand Up @@ -7482,9 +7488,17 @@ function add$1 (
const original = handler;
handler = original._wrapper = function (e) {
if (
// no bubbling, should always fire.
// this is just a safety net in case event.timeStamp is unreliable in
// certain weird environments...
e.target === e.currentTarget ||
// event is fired after handler attachment
e.timeStamp >= attachedTimestamp ||
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
e.timeStamp === 0 ||
// #9448 bail if event is fired in another document in a multi-page
// electron/nw.js app
// electron/nw.js app, since event.timeStamp will be using a different
// starting reference
e.target.ownerDocument !== document
) {
return original.apply(this, arguments)
Expand Down
4 changes: 2 additions & 2 deletions dist/vue.esm.browser.min.js

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions dist/vue.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.4
* Vue.js v2.6.5
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2545,8 +2545,14 @@ function normalizeScopedSlots (
} else if (slots._normalized) {
// fast path 1: child component re-render only, parent did not change
return slots._normalized
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
// fast path 2: stable scoped slots, only need to normalize once
} else if (
slots.$stable &&
prevSlots &&
prevSlots !== emptyObject &&
Object.keys(normalSlots).length === 0
) {
// fast path 2: stable scoped slots w/ no normal slots to proxy,
// only need to normalize once
return prevSlots
} else {
res = {};
Expand All @@ -2572,8 +2578,8 @@ function normalizeScopedSlots (
}

function normalizeScopedSlot(normalSlots, key, fn) {
var normalized = function (scope) {
var res = fn(scope || {});
var normalized = function () {
var res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode
: normalizeChildren(res);
Expand Down Expand Up @@ -5393,7 +5399,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.6.4';
Vue.version = '2.6.5';

/* */

Expand Down Expand Up @@ -7481,9 +7487,17 @@ function add$1 (
var original = handler;
handler = original._wrapper = function (e) {
if (
// no bubbling, should always fire.
// this is just a safety net in case event.timeStamp is unreliable in
// certain weird environments...
e.target === e.currentTarget ||
// event is fired after handler attachment
e.timeStamp >= attachedTimestamp ||
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
e.timeStamp === 0 ||
// #9448 bail if event is fired in another document in a multi-page
// electron/nw.js app
// electron/nw.js app, since event.timeStamp will be using a different
// starting reference
e.target.ownerDocument !== document
) {
return original.apply(this, arguments)
Expand Down
28 changes: 21 additions & 7 deletions dist/vue.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.4
* Vue.js v2.6.5
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2543,8 +2543,14 @@
} else if (slots._normalized) {
// fast path 1: child component re-render only, parent did not change
return slots._normalized
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
// fast path 2: stable scoped slots, only need to normalize once
} else if (
slots.$stable &&
prevSlots &&
prevSlots !== emptyObject &&
Object.keys(normalSlots).length === 0
) {
// fast path 2: stable scoped slots w/ no normal slots to proxy,
// only need to normalize once
return prevSlots
} else {
res = {};
Expand All @@ -2570,8 +2576,8 @@
}

function normalizeScopedSlot(normalSlots, key, fn) {
var normalized = function (scope) {
var res = fn(scope || {});
var normalized = function () {
var res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode
: normalizeChildren(res);
Expand Down Expand Up @@ -5377,7 +5383,7 @@
value: FunctionalRenderContext
});

Vue.version = '2.6.4';
Vue.version = '2.6.5';

/* */

Expand Down Expand Up @@ -7463,9 +7469,17 @@
var original = handler;
handler = original._wrapper = function (e) {
if (
// no bubbling, should always fire.
// this is just a safety net in case event.timeStamp is unreliable in
// certain weird environments...
e.target === e.currentTarget ||
// event is fired after handler attachment
e.timeStamp >= attachedTimestamp ||
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
e.timeStamp === 0 ||
// #9448 bail if event is fired in another document in a multi-page
// electron/nw.js app
// electron/nw.js app, since event.timeStamp will be using a different
// starting reference
e.target.ownerDocument !== document
) {
return original.apply(this, arguments)
Expand Down
4 changes: 2 additions & 2 deletions dist/vue.min.js

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions dist/vue.runtime.common.dev.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.4
* Vue.js v2.6.5
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2530,8 +2530,14 @@ function normalizeScopedSlots (
} else if (slots._normalized) {
// fast path 1: child component re-render only, parent did not change
return slots._normalized
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
// fast path 2: stable scoped slots, only need to normalize once
} else if (
slots.$stable &&
prevSlots &&
prevSlots !== emptyObject &&
Object.keys(normalSlots).length === 0
) {
// fast path 2: stable scoped slots w/ no normal slots to proxy,
// only need to normalize once
return prevSlots
} else {
res = {};
Expand All @@ -2557,8 +2563,8 @@ function normalizeScopedSlots (
}

function normalizeScopedSlot(normalSlots, key, fn) {
var normalized = function (scope) {
var res = fn(scope || {});
var normalized = function () {
var res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode
: normalizeChildren(res);
Expand Down Expand Up @@ -5364,7 +5370,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.6.4';
Vue.version = '2.6.5';

/* */

Expand Down Expand Up @@ -6811,9 +6817,17 @@ function add$1 (
var original = handler;
handler = original._wrapper = function (e) {
if (
// no bubbling, should always fire.
// this is just a safety net in case event.timeStamp is unreliable in
// certain weird environments...
e.target === e.currentTarget ||
// event is fired after handler attachment
e.timeStamp >= attachedTimestamp ||
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
e.timeStamp === 0 ||
// #9448 bail if event is fired in another document in a multi-page
// electron/nw.js app
// electron/nw.js app, since event.timeStamp will be using a different
// starting reference
e.target.ownerDocument !== document
) {
return original.apply(this, arguments)
Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.common.prod.js

Large diffs are not rendered by default.

28 changes: 21 additions & 7 deletions dist/vue.runtime.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.4
* Vue.js v2.6.5
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2536,8 +2536,14 @@ function normalizeScopedSlots (
} else if (slots._normalized) {
// fast path 1: child component re-render only, parent did not change
return slots._normalized
} else if (slots.$stable && prevSlots && prevSlots !== emptyObject) {
// fast path 2: stable scoped slots, only need to normalize once
} else if (
slots.$stable &&
prevSlots &&
prevSlots !== emptyObject &&
Object.keys(normalSlots).length === 0
) {
// fast path 2: stable scoped slots w/ no normal slots to proxy,
// only need to normalize once
return prevSlots
} else {
res = {};
Expand All @@ -2563,8 +2569,8 @@ function normalizeScopedSlots (
}

function normalizeScopedSlot(normalSlots, key, fn) {
var normalized = function (scope) {
var res = fn(scope || {});
var normalized = function () {
var res = arguments.length ? fn.apply(null, arguments) : fn({});
res = res && typeof res === 'object' && !Array.isArray(res)
? [res] // single vnode
: normalizeChildren(res);
Expand Down Expand Up @@ -5384,7 +5390,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.6.4';
Vue.version = '2.6.5';

/* */

Expand Down Expand Up @@ -6833,9 +6839,17 @@ function add$1 (
var original = handler;
handler = original._wrapper = function (e) {
if (
// no bubbling, should always fire.
// this is just a safety net in case event.timeStamp is unreliable in
// certain weird environments...
e.target === e.currentTarget ||
// event is fired after handler attachment
e.timeStamp >= attachedTimestamp ||
// #9462 bail for iOS 9 bug: event.timeStamp is 0 after history.pushState
e.timeStamp === 0 ||
// #9448 bail if event is fired in another document in a multi-page
// electron/nw.js app
// electron/nw.js app, since event.timeStamp will be using a different
// starting reference
e.target.ownerDocument !== document
) {
return original.apply(this, arguments)
Expand Down

0 comments on commit 1489b99

Please sign in to comment.