{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/saber-firework/issues/2","labels_url":"https://api.github.com/repos/ecomfe/saber-firework/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/saber-firework/issues/2/comments","events_url":"https://api.github.com/repos/ecomfe/saber-firework/issues/2/events","html_url":"https://github.com/ecomfe/saber-firework/issues/2","id":65581751,"number":2,"title":"View初始化用户自定义的样式可能导致重复添加已经存在的样式名","user":{"login":"wuhy","id":116542,"avatar_url":"https://avatars.githubusercontent.com/u/116542?v=3","gravatar_id":"","url":"https://api.github.com/users/wuhy","html_url":"https://github.com/wuhy","followers_url":"https://api.github.com/users/wuhy/followers","following_url":"https://api.github.com/users/wuhy/following{/other_user}","gists_url":"https://api.github.com/users/wuhy/gists{/gist_id}","starred_url":"https://api.github.com/users/wuhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuhy/subscriptions","organizations_url":"https://api.github.com/users/wuhy/orgs","repos_url":"https://api.github.com/users/wuhy/repos","events_url":"https://api.github.com/users/wuhy/events{/privacy}","received_events_url":"https://api.github.com/users/wuhy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T01:33:25Z","updated_at":"2015-06-17T08:35:18Z","closed_at":"2015-06-17T08:35:18Z","body":"```javascript\r\n/**\r\n     * 渲染视图\r\n     *\r\n     * @public\r\n     * @param {Object} data\r\n     *\r\n     * @fires View#beforerender\r\n     *        View#afterrender\r\n     */\r\n    View.prototype.render = function (data) {\r\n        if (!this.main) {\r\n            return;\r\n        }\r\n\r\n        if (this.className) {\r\n            this.main.className += ' ' + this.className; // 如果给定的 main 容器已经包含给定的 className 会重复添加\r\n        }\r\n\r\n       // ....\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/ecomfe/saber-firework/issues/comments/112717495","html_url":"https://github.com/ecomfe/saber-firework/issues/2#issuecomment-112717495","issue_url":"https://api.github.com/repos/ecomfe/saber-firework/issues/2","id":112717495,"user":{"login":"treelite","id":1505477,"avatar_url":"https://avatars.githubusercontent.com/u/1505477?v=3","gravatar_id":"","url":"https://api.github.com/users/treelite","html_url":"https://github.com/treelite","followers_url":"https://api.github.com/users/treelite/followers","following_url":"https://api.github.com/users/treelite/following{/other_user}","gists_url":"https://api.github.com/users/treelite/gists{/gist_id}","starred_url":"https://api.github.com/users/treelite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treelite/subscriptions","organizations_url":"https://api.github.com/users/treelite/orgs","repos_url":"https://api.github.com/users/treelite/repos","events_url":"https://api.github.com/users/treelite/events{/privacy}","received_events_url":"https://api.github.com/users/treelite/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T08:35:18Z","updated_at":"2015-06-17T08:35:18Z","body":"已修改～ 此部分代码已经迁移到 [saber-mm](https://github.com/ecomfe/saber-mm/blob/develop)，see  https://github.com/ecomfe/saber-mm/commit/4ec0c868708e4fba7b2596774f871771f94862b5"}}