{"action":"created","issue":{"url":"https://api.github.com/repos/weui/weui.js/issues/9","repository_url":"https://api.github.com/repos/weui/weui.js","labels_url":"https://api.github.com/repos/weui/weui.js/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/weui/weui.js/issues/9/comments","events_url":"https://api.github.com/repos/weui/weui.js/issues/9/events","html_url":"https://github.com/weui/weui.js/issues/9","id":194881214,"number":9,"title":"requirejs无法加载","user":{"login":"hyingreborn","id":1283261,"avatar_url":"https://avatars.githubusercontent.com/u/1283261?v=3","gravatar_id":"","url":"https://api.github.com/users/hyingreborn","html_url":"https://github.com/hyingreborn","followers_url":"https://api.github.com/users/hyingreborn/followers","following_url":"https://api.github.com/users/hyingreborn/following{/other_user}","gists_url":"https://api.github.com/users/hyingreborn/gists{/gist_id}","starred_url":"https://api.github.com/users/hyingreborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyingreborn/subscriptions","organizations_url":"https://api.github.com/users/hyingreborn/orgs","repos_url":"https://api.github.com/users/hyingreborn/repos","events_url":"https://api.github.com/users/hyingreborn/events{/privacy}","received_events_url":"https://api.github.com/users/hyingreborn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-12T03:04:14Z","updated_at":"2016-12-22T08:46:13Z","closed_at":null,"body":"index.html 页面直接require(['weui'], function(weui)){ ... }\r\n可以用...\r\n\r\nindex.html 页面中require a.js   a.js 依赖 weui.js，index.html页面会报错：\r\n提示weui is not defined"},"comment":{"url":"https://api.github.com/repos/weui/weui.js/issues/comments/268749043","html_url":"https://github.com/weui/weui.js/issues/9#issuecomment-268749043","issue_url":"https://api.github.com/repos/weui/weui.js/issues/9","id":268749043,"user":{"login":"allan2coder","id":14307551,"avatar_url":"https://avatars.githubusercontent.com/u/14307551?v=3","gravatar_id":"","url":"https://api.github.com/users/allan2coder","html_url":"https://github.com/allan2coder","followers_url":"https://api.github.com/users/allan2coder/followers","following_url":"https://api.github.com/users/allan2coder/following{/other_user}","gists_url":"https://api.github.com/users/allan2coder/gists{/gist_id}","starred_url":"https://api.github.com/users/allan2coder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allan2coder/subscriptions","organizations_url":"https://api.github.com/users/allan2coder/orgs","repos_url":"https://api.github.com/users/allan2coder/repos","events_url":"https://api.github.com/users/allan2coder/events{/privacy}","received_events_url":"https://api.github.com/users/allan2coder/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T08:46:13Z","updated_at":"2016-12-22T08:46:13Z","body":"建议修改下源码的外层，尝试下使用AMD的defined."}}
{"actor":{"display_login":"allan2coder"}}