Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyLouvre committed Apr 25, 2017
1 parent c3b9691 commit f33dfde
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 48 deletions.
6 changes: 5 additions & 1 deletion dist/avalon.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
built in 2017-4-25:13:57 version 2.2.6 by 司徒正美
built in 2017-4-25:15:9 version 2.2.6 by 司徒正美
https://github.com/RubyLouvre/avalon/tree/2.2.4
修正IE下 orderBy BUG
Expand Down Expand Up @@ -2411,9 +2411,13 @@ https://github.com/RubyLouvre/avalon/tree/2.2.4
//处理关闭标签
string = string.replace(arr[0], '');
var _node = stack.pop();
if (!_node) {
throw '是不是有属性值没有用引号括起';
}
//处理下面两种特殊情况:
//1. option会自动移除元素节点,将它们的nodeValue组成新的文本节点
//2. table会将没有被thead, tbody, tfoot包起来的tr或文本节点,收集到一个新的tbody元素中

if (_node.nodeName === 'option') {
_node.children = [{
nodeName: '#text',
Expand Down
8 changes: 6 additions & 2 deletions dist/avalon.modern.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
built in 2017-4-25:13:57 version 2.2.6 by 司徒正美
built in 2017-4-25:15:41 version 2.2.5 by 司徒正美
https://github.com/RubyLouvre/avalon/tree/2.2.4
更改下载Promise的提示
Expand Down Expand Up @@ -410,7 +410,7 @@ https://github.com/RubyLouvre/avalon/tree/2.2.4
inspect: inspect,
ohasOwn: ohasOwn,
rword: rword,
version: "2.2.6",
version: "2.2.5",
vmodels: {},

directives: directives,
Expand Down Expand Up @@ -1822,9 +1822,13 @@ https://github.com/RubyLouvre/avalon/tree/2.2.4
//处理关闭标签
string = string.replace(arr[0], '')
var _node = stack.pop()
if (!_node) {
throw '是不是有属性值没有用引号括起'
}
//处理下面两种特殊情况:
//1. option会自动移除元素节点,将它们的nodeValue组成新的文本节点
//2. table会将没有被thead, tbody, tfoot包起来的tr或文本节点,收集到一个新的tbody元素中

if (_node.nodeName === 'option') {
_node.children = [{
nodeName: '#text',
Expand Down
90 changes: 45 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"name": "avalon2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/RubyLouvre/avalon.git"
},
"version": "2.2.6",
"description": "an elegant efficient express mvvm framework",
"main": "dist/avalon.js",
"keywords": [
"javascript",
"mvvm",
"virtual dom"
],
"scripts": {
"buildAvalon": "node build",
"build": "karma start karma.conf",
"sauce": "karma start karma.sauce"
},
"dependencies": {},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-preset-avalon": "^1.0.0",
"codecov": "^1.0.1",
"es3ify": "^0.2.2",
"karma": "^0.12.37",
"karma-chrome-launcher": "^0.1.2",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^0.2.2",
"karma-opera-launcher": "^1.0.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sauce-launcher": "^0.2.14",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.26",
"rollup": "^0.36.3",
"rollup-plugin-istanbul": "^1.1.0",
"rollup-plugin-sourcemaps": "^0.4.1",
"semicolon-less": "^0.7.0"
},
"bugs": {
"url": "https://github.com/RubyLouvre/avalon/issues"
}
}
"name": "avalon2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/RubyLouvre/avalon.git"
},
"version": "2.2.5",
"description": "an elegant efficient express mvvm framework",
"main": "dist/avalon.js",
"keywords": [
"javascript",
"mvvm",
"virtual dom"
],
"scripts": {
"buildAvalon": "node build",
"build": "karma start karma.conf",
"sauce": "karma start karma.sauce"
},
"dependencies": {},
"devDependencies": {
"babel-core": "^6.17.0",
"babel-preset-avalon": "^1.0.0",
"codecov": "^1.0.1",
"es3ify": "^0.2.2",
"karma": "^0.12.37",
"karma-chrome-launcher": "^0.1.2",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-ie-launcher": "^1.0.0",
"karma-jasmine": "^0.2.2",
"karma-opera-launcher": "^1.0.0",
"karma-phantomjs-launcher": "^1.0.2",
"karma-sauce-launcher": "^0.2.14",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.26",
"rollup": "^0.36.3",
"rollup-plugin-istanbul": "^1.1.0",
"rollup-plugin-sourcemaps": "^0.4.1",
"semicolon-less": "^0.7.0"
},
"bugs": {
"url": "https://github.com/RubyLouvre/avalon/issues"
}
}

0 comments on commit f33dfde

Please sign in to comment.