{"action":"closed","issue":{"url":"https://api.github.com/repos/RubyLouvre/avalon/issues/888","labels_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/888/labels{/name}","comments_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/888/comments","events_url":"https://api.github.com/repos/RubyLouvre/avalon/issues/888/events","html_url":"https://github.com/RubyLouvre/avalon/issues/888","id":91725420,"number":888,"title":"看源码的一些不解","user":{"login":"peterPan-1989","id":6194604,"avatar_url":"https://avatars.githubusercontent.com/u/6194604?v=3","gravatar_id":"","url":"https://api.github.com/users/peterPan-1989","html_url":"https://github.com/peterPan-1989","followers_url":"https://api.github.com/users/peterPan-1989/followers","following_url":"https://api.github.com/users/peterPan-1989/following{/other_user}","gists_url":"https://api.github.com/users/peterPan-1989/gists{/gist_id}","starred_url":"https://api.github.com/users/peterPan-1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterPan-1989/subscriptions","organizations_url":"https://api.github.com/users/peterPan-1989/orgs","repos_url":"https://api.github.com/users/peterPan-1989/repos","events_url":"https://api.github.com/users/peterPan-1989/events{/privacy}","received_events_url":"https://api.github.com/users/peterPan-1989/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T07:38:15Z","updated_at":"2015-06-30T02:23:55Z","closed_at":"2015-06-30T02:23:55Z","body":"w3c，world wide web，万维网\r\ndom，Document Object Model  页面对象模型\r\n看了一下源码，发现源码有个地方var W3C = window.dispatchEvent ，源码也有很多地方用到了w3c来做判断\r\n不解的有\r\n1.为什么用dispatchEvent来判断是否w3c，这是一个dom2的标准\r\n2.源码多处用到w3c来做验证，是否是用来判断是否满足dom1，2，3，4标准吗？还是仅仅是dom2标准"}}