{"action":"closed","issue":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/608","repository_url":"https://api.github.com/repos/bang590/JSPatch","labels_url":"https://api.github.com/repos/bang590/JSPatch/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/bang590/JSPatch/issues/608/comments","events_url":"https://api.github.com/repos/bang590/JSPatch/issues/608/events","html_url":"https://github.com/bang590/JSPatch/issues/608","id":186251651,"number":608,"title":"在.js文件中怎么调用类方法 不是重写类方法","user":{"login":"joealzhou","id":13325247,"avatar_url":"https://avatars.githubusercontent.com/u/13325247?v=3","gravatar_id":"","url":"https://api.github.com/users/joealzhou","html_url":"https://github.com/joealzhou","followers_url":"https://api.github.com/users/joealzhou/followers","following_url":"https://api.github.com/users/joealzhou/following{/other_user}","gists_url":"https://api.github.com/users/joealzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/joealzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joealzhou/subscriptions","organizations_url":"https://api.github.com/users/joealzhou/orgs","repos_url":"https://api.github.com/users/joealzhou/repos","events_url":"https://api.github.com/users/joealzhou/events{/privacy}","received_events_url":"https://api.github.com/users/joealzhou/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T10:33:30Z","updated_at":"2016-11-02T11:56:43Z","closed_at":"2016-11-02T11:56:43Z","body":"比如：defineClass('JSPatch_Demo.ViewController, {\r\n\r\n            viewDidLoad: function() {\r\n            self.super.viewDidLoad()\r\n                //调用类方法\r\n                require(\"ViewController\")\r\n                //classFuncTest是viewController的类方法 \r\n                ViewController.classFuncTest()\r\n})\r\n有没有路过的大神 指点下 就是在.js文件中怎么调用某个类的类方法 类方法前我也加了dynamic 我上面这样写崩溃 swift写的"}}
{"actor":{"display_login":"bang590"}}