{"action":"created","issue":{"url":"https://api.github.com/repos/BeagleLab/beagle/issues/166","labels_url":"https://api.github.com/repos/BeagleLab/beagle/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/BeagleLab/beagle/issues/166/comments","events_url":"https://api.github.com/repos/BeagleLab/beagle/issues/166/events","html_url":"https://github.com/BeagleLab/beagle/issues/166","id":75205233,"number":166,"title":"Move universal functions to utilities folder","user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-11T12:28:26Z","updated_at":"2015-05-11T12:31:00Z","closed_at":null,"body":"For instance, $c"},"comment":{"url":"https://api.github.com/repos/BeagleLab/beagle/issues/comments/100891396","html_url":"https://github.com/BeagleLab/beagle/issues/166#issuecomment-100891396","issue_url":"https://api.github.com/repos/BeagleLab/beagle/issues/166","id":100891396,"user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T12:31:00Z","updated_at":"2015-05-11T12:31:00Z","body":"In `emailForm.jsx` and `slack.jsx`, we have an IIFE function:\r\n\r\n```js\r\nvar trim = (function () {\r\n  var TRIM_RE = /^\\s+|\\s+$/g\r\n  return function trim (string) {\r\n    return string.replace(TRIM_RE, '')\r\n  }\r\n})()\r\n```\r\n\r\nI'm not immediately sure how to require this. Note to self: do this later. "}}