{"action":"opened","issue":{"url":"https://api.github.com/repos/bjskistad/trapjs/issues/1","repository_url":"https://api.github.com/repos/bjskistad/trapjs","labels_url":"https://api.github.com/repos/bjskistad/trapjs/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bjskistad/trapjs/issues/1/comments","events_url":"https://api.github.com/repos/bjskistad/trapjs/issues/1/events","html_url":"https://github.com/bjskistad/trapjs/issues/1","id":138845993,"number":1,"title":"Repeat Function Code Not Executing","user":{"login":"bjskistad","id":16439579,"avatar_url":"https://avatars.githubusercontent.com/u/16439579?v=3","gravatar_id":"","url":"https://api.github.com/users/bjskistad","html_url":"https://github.com/bjskistad","followers_url":"https://api.github.com/users/bjskistad/followers","following_url":"https://api.github.com/users/bjskistad/following{/other_user}","gists_url":"https://api.github.com/users/bjskistad/gists{/gist_id}","starred_url":"https://api.github.com/users/bjskistad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjskistad/subscriptions","organizations_url":"https://api.github.com/users/bjskistad/orgs","repos_url":"https://api.github.com/users/bjskistad/repos","events_url":"https://api.github.com/users/bjskistad/events{/privacy}","received_events_url":"https://api.github.com/users/bjskistad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-06T22:38:49Z","updated_at":"2016-03-06T22:38:49Z","closed_at":null,"body":"Well, the title says it all. The repeat function in functions.js is not executing the code. I'm getting this error:\r\n/home/ubuntu/workspace/trapcode/functions.js:25\r\nvar repeat = function(numTimes, {code}) {\r\n                                ^\r\n\r\nSyntaxError: Unexpected token {\r\n    at exports.runInThisContext (vm.js:53:16)\r\n    at Module._compile (module.js:414:25)\r\n    at Object.Module._extensions..js (module.js:442:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:313:12)\r\n    at Module.runMain [as _onTimeout] (module.js:467:10)\r\n    at Timer.listOnTimeout (timers.js:92:15)\r\n\r\nWhen I run the code. Though, the code has no errors as far as my editor can tell me."}}