{"id":4976,"date":"2016-04-16T11:49:05","date_gmt":"2016-04-16T03:49:05","guid":{"rendered":"https:\/\/sdeno.com\/?p=4976"},"modified":"2016-04-27T09:28:22","modified_gmt":"2016-04-27T01:28:22","slug":"avalon1-5-x%e6%96%b0%e5%a2%9e%e5%b7%b2%e7%bb%8f%e4%bf%ae%e6%94%b9","status":"publish","type":"post","link":"https:\/\/sdeno.com\/?p=4976","title":{"rendered":"avalon1.5.x\u65b0\u589e\u529f\u80fd\u4ee5\u53ca\u4fee\u6539"},"content":{"rendered":"<h1 style=\"font-weight: bold;\">Avalon 1.5<\/h1>\n<p>avalon 1.4\u7684\u5347\u7ea7\u7248\uff0c\u6dfb\u52a0\u4e86\u5927\u91cf\u7279\u6027<\/p>\n<p>\u6dfb\u52a0avalon.directive\u65b9\u6cd5\uff0c\u65b9\u4fbf\u81ea\u5b9a\u4e49\u6307\u4ee4 \u6dfb\u52a0avalon.component\u65b9\u6cd5\uff0c\u65b9\u4fbf\u81ea\u5b9a\u4e49\u7ec4\u4ef6 \u6dfb\u52a0avalon.effect\u4e0ems-effect\uff0c\u5b9e\u73b0\u5bf9\u52a8\u753b\u7684\u652f\u6301 \u5b9e\u73b0\u5bf9\u5b50\u5c5e\u6027\u53ca\u6570\u7ec4\u5143\u7d20\u7684\u6df1\u5c42\u76d1\u63a7 \u53bb\u9664\u5bf9\u65e7\u98ce\u683c\u7684\u652f\u6301\uff0c\u76f4\u63a5\u5bfc\u81f4\u65e0\u6cd5\u652f\u6301oinui,\u542f\u7528\u65b0\u7684UI\u5e93,avalon.bootstrap \u9ed8\u8ba4\u5f00\u542f\u5f02\u6b65\u5237\u65b0\u89c6\u56fe\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u4f7f\u7528avalon.config({async: false})\uff0c\u4fdd\u8bc1\u4e0e1.4\u7684\u884c\u4e3a\u4e00\u81f4 \u8ba1\u7b97\u5c5e\u6027\u88ab\u96c6\u4e2d\u5230$computed\u5bf9\u8c61\u4e2d\u5b9a\u4e49 \u5176\u5177\u4f53\u4f7f\u7528\u8be6\u89c1avalon\u5b98\u7f51<\/p>\n<p>\u4ee5\u4e0b\u4e3a\u66f4\u65b0\u65e5\u5fd7<\/p>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon156\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon156\"><\/a>avalon1.5.6<\/h1>\n<ol>\n<li>\u6dfb\u52a0\u626b\u63cf\u540e\u7684\u56de\u8c03 \u5728\u76ee\u6807DIV\u52a0\u4e0ams-controller=&#8221;test&#8221;, $id\u4e3atest\u7684VM\u76d1\u542c\u4e00\u4e2a&#8221;ms-scan-end&#8221;\u56de\u8c03<\/li>\n<\/ol>\n<pre><code>vm.$watch(\"ms-scan-end\", function(div){\r\n   \/\/div\u4e3a\u7ed1\u5b9a\u7684\u5143\u7d20\r\n})\r\n<\/code><\/pre>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon155\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon155\"><\/a>avalon1.5.5<\/h1>\n<ol>\n<li>\u7ec8\u4e8e\u6bd4\u8f83\u5b8c\u7f8e\u5730\u89e3\u51b3\u5149\u6807\u95ee\u9898<\/li>\n<li>fix data-duplex-changed\u6267\u884c\u4e24\u6b21\u7684BUG<\/li>\n<li>\u542f\u52a8\u5168\u65b0\u7684UI\u5e93\u00a0<a style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon.bootstrap\">avalon.bootstrap<\/a>\u00a0\u6b22\u8fce\u5927\u5bb6\u8e0a\u8dc3\u53c2\u4e0e<\/li>\n<li>fix IE\u4e0bonchange\u4e0eoninput\u65e0\u6cd5\u5171\u5b58\u7684BUG<\/li>\n<li>\u4ee5 component\u7ec4\u4ef6\u8fdb\u884c\u589e\u5f3a,\u73b0\u5728\u652f\u6301\u5bf9on-xxx\u5c5e\u6027\u5728vmodels\u67e5\u627e\u56de\u8c03\u7684\u529f\u80fd<\/li>\n<\/ol>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon154\u65b0touch\u6a21\u5757\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon154\u65b0touch\u6a21\u5757\"><\/a>avalon1.5.4(\u65b0touch\u6a21\u5757)<\/h1>\n<ol>\n<li>\u4fee\u6b63oldAccessors BUG\u00a0<a style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1091\">https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1091<\/a><\/li>\n<li>\u4fee\u6b63\u5f53\u4e00\u4e2a\u5143\u7d20\u5b58\u5728\u591a\u4e2ams-if\u7ed1\u5b9a\u65f6,\u7531\u4e8e\u6ce8\u91ca\u8282\u70b9\u4e0d\u80fd\u63d0\u4f9bpos,\u5bfc\u81f4\u663e\u793a\u4e0d\u6b63\u786e<a style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1088\">https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1088<\/a><\/li>\n<li>\u65b0\u7684\u89e6\u5c4f\u6a21\u5757<\/li>\n<li>\u91cd\u6784duplex\u6307\u4ee4 (\u5305\u62ec\u6dfb\u52a0msFocus\u5c5e\u6027,\u5bf9validation\u6307\u4ee4\u7684\u652f\u6301,data-duplex-changed\u56de\u8c03\u7684\u4fee\u590d)<\/li>\n<li>loader\u6a21\u5757\u5206\u79bb\u5f97\u66f4\u5e72\u51c0<\/li>\n<li>\u4fee\u6b63include\u6307\u4ee4\u5728\u4e0d\u4e0e\u52a8\u753b\u6307\u4ee4\u914d\u5408\u4f7f\u7528\u65f6,data-include-replace\u8f85\u52a9\u6307\u4ee4\u5931\u6548\u7684BUG<\/li>\n<li>fix avalon.modern\u4e0b\u7684ms-duplex-checked BUG<\/li>\n<li>fix ready\u6a21\u5757\u5bf9loader\u6a21\u5757\u7684innerRequire\u7684\u4f9d\u8d56<\/li>\n<\/ol>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon153\u5404\u79cd\u5947\u8469bug\u4fee\u590d\u53ca\u66f4\u5feb\u7684parser\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon153\u5404\u79cd\u5947\u8469bug\u4fee\u590d\u53ca\u66f4\u5feb\u7684parser\"><\/a>avalon1.5.3(\u5404\u79cd\u5947\u8469BUG\u4fee\u590d\u53ca\u66f4\u5feb\u7684parser)<\/h1>\n<ol>\n<li>\u5168\u65b0\u7684parser<\/li>\n<li>\u4fee\u6b63$watch\u7684\u76d1\u63a7<\/li>\n<li>fix \u4f7f\u7528\u6570\u7ec4clear\u65b9\u6cd5\u6e05\u7a7a\u6570\u7ec4\u540e\uff0c\u518dpush\u5143\u7d20\u62a5\u9519<\/li>\n<li>fix ms-duplex\u5728modern\u7248\u672c\u7684\u9519\u8bef<\/li>\n<li>fix uuid\u5f15\u53d1\u7684\u9519\u8bef\u00a0<a style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1060\">https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1060<\/a><\/li>\n<li>\u5c06\u6240\u6709\u7f16\u8bd1\u51fd\u6570\u7684\u5730\u65b9\u62bd\u8c61\u6210\u4e00\u4e2a\u65b9\u6cd5cspCompile<a style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon2\/commit\/4169422645466d0f036aa7ad48e1b9dd6c874106\">https:\/\/github.com\/RubyLouvre\/avalon2\/commit\/4169422645466d0f036aa7ad48e1b9dd6c874106<\/a><\/li>\n<li>fix toJson\u5728IE6\u7684BUG\u00a0<a style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1063\">https:\/\/github.com\/RubyLouvre\/avalon\/issues\/1063<\/a><\/li>\n<li>fix avalon(window).width()\u5728IE6\u4e0b \u53d6\u503c\u4e0d\u6b63\u786e\u7684BUG<\/li>\n<\/ol>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon152\u4e3b\u8981\u5728\u81ea\u5b9a\u4e49\u6807\u7b7e\u4e0a\u8fdb\u884c\u7b80\u5316\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon152\u4e3b\u8981\u5728\u81ea\u5b9a\u4e49\u6807\u7b7e\u4e0a\u8fdb\u884c\u7b80\u5316\"><\/a>avalon1.5.2(\u4e3b\u8981\u5728\u81ea\u5b9a\u4e49\u6807\u7b7e\u4e0a\u8fdb\u884c\u7b80\u5316)<\/h1>\n<ol>\n<li>configs \u6539\u540d\u4e3a config<\/li>\n<li>$extends \u6539\u540d\u4e3a $extend<\/li>\n<li>fix loader\u4e0d\u80fd\u6b63\u786e\u5904\u7406url path map\u4e4b\u540e\u5e26query\u7684BUG<\/li>\n<li>fix ms-if \u4e0e HTML5 form validation\u5171\u7528\u65f6\u7684BUG<\/li>\n<li>fix $watch\u56de\u8c03this\u6307\u5411BUG<\/li>\n<li>fix ms-if \u78b0\u5230\u5b50\u5bf9\u8c61\u7684\u5c5e\u6027\u4e0d\u5b58\u5728\u65f6\u4e0d\u63d2\u5165\u8282\u70b9\u7684 BUG<\/li>\n<li>fix ms-include\u4e0d\u5b58\u5728\u52a8\u753b\u65f6\u4e0d\u4f1a\u79fb\u9664\u65e7\u8282\u70b9\u7684BUG<\/li>\n<\/ol>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon151\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon151\"><\/a>avalon1.5.1<\/h1>\n<ol>\n<li>\u7cbe\u7b80\u81ea\u5b9a\u4e49\u6807\u7b7e\u7684\u8bbe\u8ba1<\/li>\n<li>fix cache\u5185\u5b58\u6cc4\u6f0f<\/li>\n<li>\u6dfb\u52a0$fire(&#8220;all!xxx&#8221;)\u7684\u652f\u6301<\/li>\n<li>fix ms-duplex\u4f7f\u7528\u62e6\u622a\u5668\u65f6\u89e6\u53d1\u591a\u6b21\u7684BUG<\/li>\n<li>\u516c\u5f00openTag, closeTag\u5230avalon.config<\/li>\n<\/ol>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><\/h1>\n<h1 style=\"font-weight: bold;\"><a id=\"user-content-avalon150\" class=\"anchor\" style=\"color: #4078c0;\" href=\"https:\/\/github.com\/RubyLouvre\/avalon\/tree\/1.5#avalon150\"><\/a>avalon1.5.0<\/h1>\n<ol>\n<li>\u6dfb\u52a0\u52a8\u753b\u6307\u4ee4 ms-effect avalon.effect\u00a0<a style=\"color: #4078c0;\" href=\"http:\/\/avalonjs.github.io\/#zh\/bindings\/effect.html\">http:\/\/avalonjs.github.io\/#zh\/bindings\/effect.html<\/a><\/li>\n<li>\u6dfb\u52a0\u57fa\u4e8e\u81ea\u5b9a\u4e49\u6807\u7b7e\u7684\u7ec4\u4ef6\u6307\u4ee4\u00a0<a style=\"color: #4078c0;\" href=\"http:\/\/avalonjs.github.io\/#zh\/bindings\/component.html\">http:\/\/avalonjs.github.io\/#zh\/bindings\/component.html<\/a><\/li>\n<li>\u5168\u65b0\u7684$watch\u673a\u5236\u00a0<a style=\"color: #4078c0;\" href=\"http:\/\/avalonjs.github.io\/#zh\/concepts\/$watch.html\">http:\/\/avalonjs.github.io\/#zh\/concepts\/$watch.html<\/a><\/li>\n<li>\u8ba1\u7b97\u5c5e\u6027\u5168\u90e8\u79fb\u52a8$computed\u5bf9\u8c61\u4e0a\u96c6\u4e2d\u5b9a\u4e49<\/li>\n<li>\u66f4\u4f18\u96c5\u4fbf\u6377\u5730\u81ea\u5b9a\u4e49\u7ec4\u4ef6\u00a0<a style=\"color: #4078c0;\" href=\"http:\/\/avalonjs.github.io\/#zh\/bindings\/directive.html\">http:\/\/avalonjs.github.io\/#zh\/bindings\/directive.html<\/a><\/li>\n<li>\u5e9f\u6389avalon.define\u7684\u65e7\u98ce\u683c\u5b9a\u4e49,\u53ea\u652f\u6301\u65b0\u98ce\u683c<\/li>\n<li>\u5e9f\u6389data-duplex-observe\u8f85\u52a9\u6307\u4ee4<\/li>\n<li>\u5e9f\u6389ms-widget \u8be6\u770bcomponent\/pager\/avalon.pager.js \u662f\u600e\u4e48\u5c06\u539f\u6765\u7ec4\u4ef6\u6539\u6210\u65b0\u7ec4\u4ef6\u7684<\/li>\n<\/ol>\n<p>\u73b0\u5728\u7684VM\u53ea\u6709\u7b2c\u4e00\u5c42\u4e0a\u62e5\u6709$events, $fire, $watch, $model\u5c5e\u6027\u4e0e\u65b9\u6cd5, \u5b83\u7684\u5b50\u5bf9\u8c61\u6ca1\u6709\u8fd9\u4e9b\u5c5e\u6027<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Avalon 1.5 avalon 1.4\u7684\u5347\u7ea7\u7248\uff0c\u6dfb\u52a0\u4e86\u5927\u91cf\u7279\u6027 \u6dfb\u52a0avalon.directive\u65b9\u6cd5\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,11],"tags":[],"class_list":["post-4976","post","type-post","status-publish","format-standard","hentry","category-avalon-js","category-11"],"_links":{"self":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/4976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4976"}],"version-history":[{"count":0,"href":"https:\/\/sdeno.com\/index.php?rest_route=\/wp\/v2\/posts\/4976\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdeno.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}