{"action":"opened","issue":{"url":"https://api.github.com/repos/iVanPan/Cordova_QQ/issues/30","repository_url":"https://api.github.com/repos/iVanPan/Cordova_QQ","labels_url":"https://api.github.com/repos/iVanPan/Cordova_QQ/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/iVanPan/Cordova_QQ/issues/30/comments","events_url":"https://api.github.com/repos/iVanPan/Cordova_QQ/issues/30/events","html_url":"https://github.com/iVanPan/Cordova_QQ/issues/30","id":135298201,"number":30,"title":"ReferenceError: YCQQ is not defined","user":{"login":"garyganyang","id":9247862,"avatar_url":"https://avatars.githubusercontent.com/u/9247862?v=3","gravatar_id":"","url":"https://api.github.com/users/garyganyang","html_url":"https://github.com/garyganyang","followers_url":"https://api.github.com/users/garyganyang/followers","following_url":"https://api.github.com/users/garyganyang/following{/other_user}","gists_url":"https://api.github.com/users/garyganyang/gists{/gist_id}","starred_url":"https://api.github.com/users/garyganyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyganyang/subscriptions","organizations_url":"https://api.github.com/users/garyganyang/orgs","repos_url":"https://api.github.com/users/garyganyang/repos","events_url":"https://api.github.com/users/garyganyang/events{/privacy}","received_events_url":"https://api.github.com/users/garyganyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-22T02:50:38Z","updated_at":"2016-02-22T02:50:38Z","closed_at":null,"body":"  .controller('aaaCtrl', function ($rootScope, $scope) {\r\n    $scope.loginByQQ =function(){\r\n      var checkClientIsInstalled = 1;//default is 0,only for iOS\r\n      YCQQ.ssoLogin(function(args){\r\n        alert(args.access_token);\r\n        alert(args.userid);\r\n      },function(failReason){\r\n        console.log(failReason);\r\n      },checkClientIsInstalled);\r\n    }\r\n  })\r\n\r\n<button ng-click=\"loginByQQ ()\">login</button>\r\n\r\ndevice已经ready了,再点击按钮登录, 报错 YCQQ is not defined, 我该怎么检查呢? 非常感谢"}}