{"action":"created","issue":{"url":"https://api.github.com/repos/mantoni/mochify.js/issues/90","labels_url":"https://api.github.com/repos/mantoni/mochify.js/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/mantoni/mochify.js/issues/90/comments","events_url":"https://api.github.com/repos/mantoni/mochify.js/issues/90/events","html_url":"https://github.com/mantoni/mochify.js/issues/90","id":81500032,"number":90,"title":"phantomjs api option not working","user":{"login":"jxm262","id":3460750,"avatar_url":"https://avatars.githubusercontent.com/u/3460750?v=3","gravatar_id":"","url":"https://api.github.com/users/jxm262","html_url":"https://github.com/jxm262","followers_url":"https://api.github.com/users/jxm262/followers","following_url":"https://api.github.com/users/jxm262/following{/other_user}","gists_url":"https://api.github.com/users/jxm262/gists{/gist_id}","starred_url":"https://api.github.com/users/jxm262/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxm262/subscriptions","organizations_url":"https://api.github.com/users/jxm262/orgs","repos_url":"https://api.github.com/users/jxm262/repos","events_url":"https://api.github.com/users/jxm262/events{/privacy}","received_events_url":"https://api.github.com/users/jxm262/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mantoni/mochify.js/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/mantoni/mochify.js/labels/PR%20welcome","name":"PR welcome","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-27T15:37:07Z","updated_at":"2015-05-28T19:44:12Z","closed_at":null,"body":"I'm trying to set phantomjs directly with the api, but it doesn't seem to work with a local phantomjs installation.  \r\n  \r\nPerhaps I have the syntax wrong?  \r\n```    \r\n//local installation\r\nvar phantomjs = require('phantomjs');\r\n\r\nmochify('./test/site/js/**/*.js', {\r\n    transform: ['reactify'],\r\n    reporter: 'spec',\r\n    phantomjs: phantomjs\r\n})\r\n.bundle();\r\n```  \r\n\r\nHowever, It seems to work with the command line option `--phantomjs`, but I need to use the API.  \r\n"},"comment":{"url":"https://api.github.com/repos/mantoni/mochify.js/issues/comments/106576527","html_url":"https://github.com/mantoni/mochify.js/issues/90#issuecomment-106576527","issue_url":"https://api.github.com/repos/mantoni/mochify.js/issues/90","id":106576527,"user":{"login":"jxm262","id":3460750,"avatar_url":"https://avatars.githubusercontent.com/u/3460750?v=3","gravatar_id":"","url":"https://api.github.com/users/jxm262","html_url":"https://github.com/jxm262","followers_url":"https://api.github.com/users/jxm262/followers","following_url":"https://api.github.com/users/jxm262/following{/other_user}","gists_url":"https://api.github.com/users/jxm262/gists{/gist_id}","starred_url":"https://api.github.com/users/jxm262/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxm262/subscriptions","organizations_url":"https://api.github.com/users/jxm262/orgs","repos_url":"https://api.github.com/users/jxm262/repos","events_url":"https://api.github.com/users/jxm262/events{/privacy}","received_events_url":"https://api.github.com/users/jxm262/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T19:44:12Z","updated_at":"2015-05-28T19:44:12Z","body":"ahhh... ok just took a look at the filesize for phantomjs and it's pretty huge.  I see your line of reasoning now.  \r\n  \r\nLet me think about this a bit.  I think there's a couple ideas to accomplish this but want to think about the best way to architect it.  "}}