{"action":"created","issue":{"url":"https://api.github.com/repos/bearcatjs/bearcat/issues/194","labels_url":"https://api.github.com/repos/bearcatjs/bearcat/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/bearcatjs/bearcat/issues/194/comments","events_url":"https://api.github.com/repos/bearcatjs/bearcat/issues/194/events","html_url":"https://github.com/bearcatjs/bearcat/issues/194","id":80560805,"number":194,"title":"bearcat is not working with cocos2d-js(3.6.1)!","user":{"login":"zj8487","id":5138447,"avatar_url":"https://avatars.githubusercontent.com/u/5138447?v=3","gravatar_id":"","url":"https://api.github.com/users/zj8487","html_url":"https://github.com/zj8487","followers_url":"https://api.github.com/users/zj8487/followers","following_url":"https://api.github.com/users/zj8487/following{/other_user}","gists_url":"https://api.github.com/users/zj8487/gists{/gist_id}","starred_url":"https://api.github.com/users/zj8487/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zj8487/subscriptions","organizations_url":"https://api.github.com/users/zj8487/orgs","repos_url":"https://api.github.com/users/zj8487/repos","events_url":"https://api.github.com/users/zj8487/events{/privacy}","received_events_url":"https://api.github.com/users/zj8487/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-25T14:50:55Z","updated_at":"2015-05-26T09:48:02Z","closed_at":null,"body":"it says there is error in main.js which is generator by bearcat grunt!\r\n\r\n```\r\ni guess the require is changed, so bearcat need change too.\r\n```\r\n\r\nerror output:\r\n```\r\nD/cocos2d-x debug info(23941): script:main.js\r\nD/cocos2d-x debug info(23941): (evaluatedOK == JS_FALSE)\r\n```\r\n\r\nthe output above is from follow:\r\n\r\n```c++\r\nbool ScriptingCore::runScript(const char *path, JS::HandleObject global, JSContext* cx)\r\n{\r\n    if (cx == NULL) {\r\n        cx = _cx;\r\n    }\r\n\r\n    compileScript(path,global,cx);\r\n    JS::RootedScript script(cx, getScript(path));\r\n    bool evaluatedOK = false;\r\n    if (script) {\r\n        JS::RootedValue rval(cx);\r\n        JSAutoCompartment ac(cx, global);\r\n        evaluatedOK = JS_ExecuteScript(cx, global, script, &rval);\r\n        if (false == evaluatedOK) {\r\n            cocos2d::log(\"script:%s\", path);\r\n            cocos2d::log(\"(evaluatedOK == JS_FALSE)\");\r\n            JS_ReportPendingException(cx);\r\n        }\r\n    }\r\n \r\n    return evaluatedOK;\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bearcatjs/bearcat/issues/comments/105470424","html_url":"https://github.com/bearcatjs/bearcat/issues/194#issuecomment-105470424","issue_url":"https://api.github.com/repos/bearcatjs/bearcat/issues/194","id":105470424,"user":{"login":"zj8487","id":5138447,"avatar_url":"https://avatars.githubusercontent.com/u/5138447?v=3","gravatar_id":"","url":"https://api.github.com/users/zj8487","html_url":"https://github.com/zj8487","followers_url":"https://api.github.com/users/zj8487/followers","following_url":"https://api.github.com/users/zj8487/following{/other_user}","gists_url":"https://api.github.com/users/zj8487/gists{/gist_id}","starred_url":"https://api.github.com/users/zj8487/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zj8487/subscriptions","organizations_url":"https://api.github.com/users/zj8487/orgs","repos_url":"https://api.github.com/users/zj8487/repos","events_url":"https://api.github.com/users/zj8487/events{/privacy}","received_events_url":"https://api.github.com/users/zj8487/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T09:48:02Z","updated_at":"2015-05-26T09:48:02Z","body":"i will try to make all require in closure today. and feedback"}}