{"action":"created","issue":{"url":"https://api.github.com/repos/adazzle/react-data-grid/issues/57","labels_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/57/comments","events_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/57/events","html_url":"https://github.com/adazzle/react-data-grid/issues/57","id":104574406,"number":57,"title":"Duplicated functions in dist/react-data-grid.js","user":{"login":"MalcolmDwyer","id":714353,"avatar_url":"https://avatars.githubusercontent.com/u/714353?v=3","gravatar_id":"","url":"https://api.github.com/users/MalcolmDwyer","html_url":"https://github.com/MalcolmDwyer","followers_url":"https://api.github.com/users/MalcolmDwyer/followers","following_url":"https://api.github.com/users/MalcolmDwyer/following{/other_user}","gists_url":"https://api.github.com/users/MalcolmDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/MalcolmDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MalcolmDwyer/subscriptions","organizations_url":"https://api.github.com/users/MalcolmDwyer/orgs","repos_url":"https://api.github.com/users/MalcolmDwyer/repos","events_url":"https://api.github.com/users/MalcolmDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/MalcolmDwyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T21:24:28Z","updated_at":"2015-09-10T20:42:51Z","closed_at":null,"body":"My webpack build includes a preLoader run through JSCS.  It errors out on react-data-grid.js because render() and renderStatusIcon() functions both appear twice in the EditorContainer component (around line 4080).  They appear to be identical, so probably no harm other than having lint checkers barf."},"comment":{"url":"https://api.github.com/repos/adazzle/react-data-grid/issues/comments/139373361","html_url":"https://github.com/adazzle/react-data-grid/issues/57#issuecomment-139373361","issue_url":"https://api.github.com/repos/adazzle/react-data-grid/issues/57","id":139373361,"user":{"login":"MalcolmDwyer","id":714353,"avatar_url":"https://avatars.githubusercontent.com/u/714353?v=3","gravatar_id":"","url":"https://api.github.com/users/MalcolmDwyer","html_url":"https://github.com/MalcolmDwyer","followers_url":"https://api.github.com/users/MalcolmDwyer/followers","following_url":"https://api.github.com/users/MalcolmDwyer/following{/other_user}","gists_url":"https://api.github.com/users/MalcolmDwyer/gists{/gist_id}","starred_url":"https://api.github.com/users/MalcolmDwyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MalcolmDwyer/subscriptions","organizations_url":"https://api.github.com/users/MalcolmDwyer/orgs","repos_url":"https://api.github.com/users/MalcolmDwyer/repos","events_url":"https://api.github.com/users/MalcolmDwyer/events{/privacy}","received_events_url":"https://api.github.com/users/MalcolmDwyer/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T20:42:51Z","updated_at":"2015-09-10T20:42:51Z","body":"Hi... sorry, I should have said earlier: the issue exists on 0.13.0-alpha1\r\nI know there are other issues with that build.  This was the first one I ran into though.\r\n\r\n```bash\r\n$ grep react-data-grid package.json \r\n    \"react-data-grid\": \"0.13.0-alpha1\"\r\n\r\n$ npm install --save react-data-grid\r\n \r\n\r\n$ grep -n -C 5 'renderStatusIcon:' node_modules/react-data-grid/dist/react-data-grid.js \r\n4012-\t    return joinClasses({\r\n4013-\t      'has-error': this.state.isInvalid === true\r\n4014-\t    });\r\n4015-\t  },\r\n4016-\r\n4017:\t  renderStatusIcon: function renderStatusIcon() {\r\n4018-\t    if (this.state.isInvalid === true) {\r\n4019-\t      return React.createElement('span', { className: 'glyphicon glyphicon-remove form-control-feedback' });\r\n4020-\t    }\r\n4021-\t  },\r\n4022-\r\n--\r\n--\r\n4072-\t    if (!this.changeCommitted && !this.hasEscapeBeenPressed()) {\r\n4073-\t      this.commit({ key: 'Enter' });\r\n4074-\t    }\r\n4075-\t  },\r\n4076-\r\n4077:\t  renderStatusIcon: function renderStatusIcon() {\r\n4078-\t    if (this.state.isInvalid === true) {\r\n4079-\t      return React.createElement('span', { className: 'glyphicon glyphicon-remove form-control-feedback' });\r\n4080-\t    }\r\n4081-\t  },\r\n4082-\r\n```\r\n\r\nBoth of those renderStatusIcon functions are in the same block... and render() is repeated there as well.\r\n\r\n- Thanks"}}