{"action":"created","issue":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/1085","labels_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/1085/comments","events_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/1085/events","html_url":"https://github.com/RubyLouvre/avalon/issues/1085","id":110056519,"number":1085,"title":"IE 下组建构建问题，使用dialog时发现，无法toggle，报错avalon.vmodels[id]不是对象","user":{"login":"77660331","id":14289492,"avatar_url":"https://avatars.githubusercontent.com/u/14289492?v=3","gravatar_id":"","url":"https://api.github.com/users/77660331","html_url":"https://github.com/77660331","followers_url":"https://api.github.com/users/77660331/followers","following_url":"https://api.github.com/users/77660331/following{/other_user}","gists_url":"https://api.github.com/users/77660331/gists{/gist_id}","starred_url":"https://api.github.com/users/77660331/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/77660331/subscriptions","organizations_url":"https://api.github.com/users/77660331/orgs","repos_url":"https://api.github.com/users/77660331/repos","events_url":"https://api.github.com/users/77660331/events{/privacy}","received_events_url":"https://api.github.com/users/77660331/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T17:18:04Z","updated_at":"2015-10-07T05:59:43Z","closed_at":null,"body":"```\r\n&lt;!--用户登录对话框--&gt;<br />\r\n&lt;div ms-controller=&quot;systemUser&quot;  &gt;<br />\r\n&lt;oni:dialog  identifier=&quot;loginView&quot; config=&quot;$loginViewOpts&quot;&gt;<br />\r\n&lt;div ms-include-src=&quot;loginViewUrl&quot; data-include-rendered=&quot;$getUser&quot; &gt;&lt;/div&gt;<br />\r\n&lt;/oni:dialog&gt;<br />\r\n&lt;/div&gt;\r\n```\r\n经测试，IE下发现组建无法构建 ,chrome下正常，以下是avalon.js 1.5.3版本 3398行代码\r\n\r\navalon.components = {}\r\navalon.component = function (name, opts) {\r\n    if (opts) {\r\n        avalon.components[name] = avalon.mix({}, componentHooks, opts)\r\n    }\r\n    for (var i = 0, obj; obj = componentQueue[i]; i++) {\r\n\t\talert(obj) //经过测试(IE6，7，8)无法alert出object,chrome 正常\r\n        if (name === obj.fullName) {"},"comment":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/comments/146084883","html_url":"https://github.com/RubyLouvre/avalon/issues/1085#issuecomment-146084883","issue_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/1085","id":146084883,"user":{"login":"77660331","id":14289492,"avatar_url":"https://avatars.githubusercontent.com/u/14289492?v=3","gravatar_id":"","url":"https://api.github.com/users/77660331","html_url":"https://github.com/77660331","followers_url":"https://api.github.com/users/77660331/followers","following_url":"https://api.github.com/users/77660331/following{/other_user}","gists_url":"https://api.github.com/users/77660331/gists{/gist_id}","starred_url":"https://api.github.com/users/77660331/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/77660331/subscriptions","organizations_url":"https://api.github.com/users/77660331/orgs","repos_url":"https://api.github.com/users/77660331/repos","events_url":"https://api.github.com/users/77660331/events{/privacy}","received_events_url":"https://api.github.com/users/77660331/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T05:59:43Z","updated_at":"2015-10-07T05:59:43Z","body":"function isWidget(el) { //如果为自定义标签,返回UI库的名字\r\n    if(el.scopeName && el.scopeName !== \"HTML\" ){\r\n        return el.scopeName\r\n    }\r\n    var fullName = el.nodeName.toLowerCase() \r\n    var index = fullName.indexOf(\":\")\r\n    if (index > 0) {\r\n        return fullName.slice(0, index)\r\n    }\r\n}"}}