{"action":"created","issue":{"url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/issues/504","repository_url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets","labels_url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/issues/504/comments","events_url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/issues/504/events","html_url":"https://github.com/Esri/solutions-webappbuilder-widgets/issues/504","id":147082392,"number":504,"title":"Smart Editor - JSHint the code","user":{"login":"MikeMillerGIS","id":2707285,"avatar_url":"https://avatars.githubusercontent.com/u/2707285?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMillerGIS","html_url":"https://github.com/MikeMillerGIS","followers_url":"https://api.github.com/users/MikeMillerGIS/followers","following_url":"https://api.github.com/users/MikeMillerGIS/following{/other_user}","gists_url":"https://api.github.com/users/MikeMillerGIS/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMillerGIS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMillerGIS/subscriptions","organizations_url":"https://api.github.com/users/MikeMillerGIS/orgs","repos_url":"https://api.github.com/users/MikeMillerGIS/repos","events_url":"https://api.github.com/users/MikeMillerGIS/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMillerGIS/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/labels/High%20Priority","name":"High Priority","color":"fbca04"},{"url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/labels/Smart%20Editor","name":"Smart Editor","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"camtran","id":14931280,"avatar_url":"https://avatars.githubusercontent.com/u/14931280?v=3","gravatar_id":"","url":"https://api.github.com/users/camtran","html_url":"https://github.com/camtran","followers_url":"https://api.github.com/users/camtran/followers","following_url":"https://api.github.com/users/camtran/following{/other_user}","gists_url":"https://api.github.com/users/camtran/gists{/gist_id}","starred_url":"https://api.github.com/users/camtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camtran/subscriptions","organizations_url":"https://api.github.com/users/camtran/orgs","repos_url":"https://api.github.com/users/camtran/repos","events_url":"https://api.github.com/users/camtran/events{/privacy}","received_events_url":"https://api.github.com/users/camtran/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/milestones/3","html_url":"https://github.com/Esri/solutions-webappbuilder-widgets/milestones/Version%20-%20Next","labels_url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/milestones/3/labels","id":1087692,"number":3,"title":"Version - Next","description":"Issues targeted for the next Release of Web App Builder","creator":{"login":"conklinbd","id":2582674,"avatar_url":"https://avatars.githubusercontent.com/u/2582674?v=3","gravatar_id":"","url":"https://api.github.com/users/conklinbd","html_url":"https://github.com/conklinbd","followers_url":"https://api.github.com/users/conklinbd/followers","following_url":"https://api.github.com/users/conklinbd/following{/other_user}","gists_url":"https://api.github.com/users/conklinbd/gists{/gist_id}","starred_url":"https://api.github.com/users/conklinbd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conklinbd/subscriptions","organizations_url":"https://api.github.com/users/conklinbd/orgs","repos_url":"https://api.github.com/users/conklinbd/repos","events_url":"https://api.github.com/users/conklinbd/events{/privacy}","received_events_url":"https://api.github.com/users/conklinbd/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":37,"state":"open","created_at":"2015-04-28T15:32:28Z","updated_at":"2016-04-15T20:27:25Z","due_on":"2016-05-07T04:00:00Z","closed_at":null},"comments":1,"created_at":"2016-04-09T02:57:23Z","updated_at":"2016-04-15T22:25:32Z","closed_at":null,"body":"### Widget\r\nSmart Editor\r\n### Version of widget\r\nAlpha\r\n### Bug or Enhancement\r\nEnhacement\r\n### Repo Steps or Enhancement details\r\nCode needs to be hinted and conform to standards."},"comment":{"url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/issues/comments/210668929","html_url":"https://github.com/Esri/solutions-webappbuilder-widgets/issues/504#issuecomment-210668929","issue_url":"https://api.github.com/repos/Esri/solutions-webappbuilder-widgets/issues/504","id":210668929,"user":{"login":"camtran","id":14931280,"avatar_url":"https://avatars.githubusercontent.com/u/14931280?v=3","gravatar_id":"","url":"https://api.github.com/users/camtran","html_url":"https://github.com/camtran","followers_url":"https://api.github.com/users/camtran/followers","following_url":"https://api.github.com/users/camtran/following{/other_user}","gists_url":"https://api.github.com/users/camtran/gists{/gist_id}","starred_url":"https://api.github.com/users/camtran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camtran/subscriptions","organizations_url":"https://api.github.com/users/camtran/orgs","repos_url":"https://api.github.com/users/camtran/repos","events_url":"https://api.github.com/users/camtran/events{/privacy}","received_events_url":"https://api.github.com/users/camtran/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T22:25:32Z","updated_at":"2016-04-15T22:25:32Z","body":"Performed JSHint; no errors but a few warnings as in the snapshot below. \r\n![image](https://cloud.githubusercontent.com/assets/14931280/14576368/57e81926-031d-11e6-8086-e116677c8615.png)\r\n\r\nAbout the unexpected use of '|' warnings, I checked our js api sample code and it uses a '|' as well  (https://developers.arcgis.com/javascript/jsapi/edit-amd.html#activate). So I'm not sure what to do about it. \r\n\r\nMike, can you take a look at the setting.js regarding the duplicate key 'mapLayer' warning?  Thanks.\r\n"}}