{"action":"created","issue":{"url":"https://api.github.com/repos/fgpv-vpgf/geoApi/issues/87","repository_url":"https://api.github.com/repos/fgpv-vpgf/geoApi","labels_url":"https://api.github.com/repos/fgpv-vpgf/geoApi/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/fgpv-vpgf/geoApi/issues/87/comments","events_url":"https://api.github.com/repos/fgpv-vpgf/geoApi/issues/87/events","html_url":"https://github.com/fgpv-vpgf/geoApi/pull/87","id":139710393,"number":87,"title":"Feature/smartypants","user":{"login":"james-rae","id":7585245,"avatar_url":"https://avatars.githubusercontent.com/u/7585245?v=3","gravatar_id":"","url":"https://api.github.com/users/james-rae","html_url":"https://github.com/james-rae","followers_url":"https://api.github.com/users/james-rae/followers","following_url":"https://api.github.com/users/james-rae/following{/other_user}","gists_url":"https://api.github.com/users/james-rae/gists{/gist_id}","starred_url":"https://api.github.com/users/james-rae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james-rae/subscriptions","organizations_url":"https://api.github.com/users/james-rae/orgs","repos_url":"https://api.github.com/users/james-rae/repos","events_url":"https://api.github.com/users/james-rae/events{/privacy}","received_events_url":"https://api.github.com/users/james-rae/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"AleksueiR","id":2285779,"avatar_url":"https://avatars.githubusercontent.com/u/2285779?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksueiR","html_url":"https://github.com/AleksueiR","followers_url":"https://api.github.com/users/AleksueiR/followers","following_url":"https://api.github.com/users/AleksueiR/following{/other_user}","gists_url":"https://api.github.com/users/AleksueiR/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksueiR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksueiR/subscriptions","organizations_url":"https://api.github.com/users/AleksueiR/orgs","repos_url":"https://api.github.com/users/AleksueiR/repos","events_url":"https://api.github.com/users/AleksueiR/events{/privacy}","received_events_url":"https://api.github.com/users/AleksueiR/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-03-09T21:46:44Z","updated_at":"2016-03-10T21:55:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fgpv-vpgf/geoApi/pulls/87","html_url":"https://github.com/fgpv-vpgf/geoApi/pull/87","diff_url":"https://github.com/fgpv-vpgf/geoApi/pull/87.diff","patch_url":"https://github.com/fgpv-vpgf/geoApi/pull/87.patch"},"body":"First of two support functions to help with User Layer wizard.  This will interrogate a URL, attempt to define what it points to, and if it is a web-based file, load the file as a array buffer.  Lots of functions and mapping objects to avoid the cyclomatic whining of the rules.\r\nSpec-based tests to come later™\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/fgpv-vpgf/geoapi/87)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/fgpv-vpgf/geoApi/issues/comments/195069333","html_url":"https://github.com/fgpv-vpgf/geoApi/pull/87#issuecomment-195069333","issue_url":"https://api.github.com/repos/fgpv-vpgf/geoApi/issues/87","id":195069333,"user":{"login":"AleksueiR","id":2285779,"avatar_url":"https://avatars.githubusercontent.com/u/2285779?v=3","gravatar_id":"","url":"https://api.github.com/users/AleksueiR","html_url":"https://github.com/AleksueiR","followers_url":"https://api.github.com/users/AleksueiR/followers","following_url":"https://api.github.com/users/AleksueiR/following{/other_user}","gists_url":"https://api.github.com/users/AleksueiR/gists{/gist_id}","starred_url":"https://api.github.com/users/AleksueiR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AleksueiR/subscriptions","organizations_url":"https://api.github.com/users/AleksueiR/orgs","repos_url":"https://api.github.com/users/AleksueiR/repos","events_url":"https://api.github.com/users/AleksueiR/events{/privacy}","received_events_url":"https://api.github.com/users/AleksueiR/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T21:55:13Z","updated_at":"2016-03-10T21:55:13Z","body":"\n\n\n\nReview status: all files reviewed at latest revision, 5 unresolved discussions.\n\n---\n\n*[src/layer.js, line 320 \\[r1\\]](https://reviewable.io:443/reviews/fgpv-vpgf/geoapi/87#-KCSaVGreP898da6_rB9:-KCXWO5Xpk0x7XhwIale:95922394) ([raw file](https://github.com/fgpv-vpgf/geoapi/blob/936ca73643159d591eebedaadc18b7e3b5417ab8/src/layer.js#L320)):*\nThis should work:\n```js\nconst mapper = {\n  serviceType: {\n        CSV: 'F_FILE',\n        GeoJSON: 'F_FILE',\n         ...\n   }\n};\n```\n\n---\n\n\n*Comments from the [review on Reviewable.io](https://reviewable.io:443/reviews/fgpv-vpgf/geoapi/87)*\n<!-- Sent from Reviewable.io -->\n"}}