Skip to content

Commit

Permalink
[build] 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 27, 2017
1 parent d8315c4 commit 87b0d5d
Show file tree
Hide file tree
Showing 14 changed files with 1,547 additions and 1,079 deletions.
11 changes: 8 additions & 3 deletions dist/vue.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.3.0-beta.1
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -4384,7 +4384,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.3.0-beta.1';
Vue$3.version = '2.3.0';

/* */

Expand Down Expand Up @@ -8170,7 +8170,7 @@ function parse (
}
var children = currentParent.children;
text = inPre || text.trim()
? decodeHTMLCached(text)
? isTextTag(currentParent) ? text : decodeHTMLCached(text)
// only preserve whitespace if its not right after a starting tag
: preserveWhitespace && children.length ? ' ' : '';
if (text) {
Expand Down Expand Up @@ -8462,6 +8462,11 @@ function makeAttrsMap (attrs) {
return map
}

// for script (e.g. type="x/template") or style, do not decode content
function isTextTag (el) {
return el.tag === 'script' || el.tag === 'style'
}

function isForbiddenTag (el) {
return (
el.tag === 'style' ||
Expand Down
11 changes: 8 additions & 3 deletions dist/vue.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.3.0-beta.1
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -4382,7 +4382,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.3.0-beta.1';
Vue$3.version = '2.3.0';

/* */

Expand Down Expand Up @@ -8168,7 +8168,7 @@ function parse (
}
var children = currentParent.children;
text = inPre || text.trim()
? decodeHTMLCached(text)
? isTextTag(currentParent) ? text : decodeHTMLCached(text)
// only preserve whitespace if its not right after a starting tag
: preserveWhitespace && children.length ? ' ' : '';
if (text) {
Expand Down Expand Up @@ -8460,6 +8460,11 @@ function makeAttrsMap (attrs) {
return map
}

// for script (e.g. type="x/template") or style, do not decode content
function isTextTag (el) {
return el.tag === 'script' || el.tag === 'style'
}

function isForbiddenTag (el) {
return (
el.tag === 'style' ||
Expand Down
11 changes: 8 additions & 3 deletions dist/vue.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.3.0-beta.1
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -4376,7 +4376,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.3.0-beta.1';
Vue$3.version = '2.3.0';

/* */

Expand Down Expand Up @@ -8162,7 +8162,7 @@ function parse (
}
var children = currentParent.children;
text = inPre || text.trim()
? decodeHTMLCached(text)
? isTextTag(currentParent) ? text : decodeHTMLCached(text)
// only preserve whitespace if its not right after a starting tag
: preserveWhitespace && children.length ? ' ' : '';
if (text) {
Expand Down Expand Up @@ -8454,6 +8454,11 @@ function makeAttrsMap (attrs) {
return map
}

// for script (e.g. type="x/template") or style, do not decode content
function isTextTag (el) {
return el.tag === 'script' || el.tag === 'style'
}

function isForbiddenTag (el) {
return (
el.tag === 'style' ||
Expand Down
8 changes: 4 additions & 4 deletions dist/vue.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vue.runtime.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.3.0-beta.1
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -4380,7 +4380,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.3.0-beta.1';
Vue$3.version = '2.3.0';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.3.0-beta.1
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -4378,7 +4378,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.3.0-beta.1';
Vue$3.version = '2.3.0';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.3.0-beta.1
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -4372,7 +4372,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.3.0-beta.1';
Vue$3.version = '2.3.0';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.min.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion packages/vue-server-renderer/build.js
Expand Up @@ -3156,7 +3156,7 @@ function parse (
}
var children = currentParent.children;
text = inPre || text.trim()
? decodeHTMLCached(text)
? isTextTag(currentParent) ? text : decodeHTMLCached(text)
// only preserve whitespace if its not right after a starting tag
: preserveWhitespace && children.length ? ' ' : '';
if (text) {
Expand Down Expand Up @@ -3448,6 +3448,11 @@ function makeAttrsMap (attrs) {
return map
}

// for script (e.g. type="x/template") or style, do not decode content
function isTextTag (el) {
return el.tag === 'script' || el.tag === 'style'
}

function isForbiddenTag (el) {
return (
el.tag === 'style' ||
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-server-renderer/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-server-renderer",
"version": "2.3.0-beta.1",
"version": "2.3.0",
"description": "server renderer for Vue 2.0",
"main": "index.js",
"repository": {
Expand Down
7 changes: 6 additions & 1 deletion packages/vue-template-compiler/build.js
Expand Up @@ -1638,7 +1638,7 @@ function parse (
}
var children = currentParent.children;
text = inPre || text.trim()
? decodeHTMLCached(text)
? isTextTag(currentParent) ? text : decodeHTMLCached(text)
// only preserve whitespace if its not right after a starting tag
: preserveWhitespace && children.length ? ' ' : '';
if (text) {
Expand Down Expand Up @@ -1930,6 +1930,11 @@ function makeAttrsMap (attrs) {
return map
}

// for script (e.g. type="x/template") or style, do not decode content
function isTextTag (el) {
return el.tag === 'script' || el.tag === 'style'
}

function isForbiddenTag (el) {
return (
el.tag === 'style' ||
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-template-compiler/package.json
@@ -1,6 +1,6 @@
{
"name": "vue-template-compiler",
"version": "2.3.0-beta.1",
"version": "2.3.0",
"description": "template compiler for Vue 2.0",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 87b0d5d

Please sign in to comment.