{"action":"closed","issue":{"url":"https://api.github.com/repos/braintree/card-validator/issues/3","labels_url":"https://api.github.com/repos/braintree/card-validator/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/braintree/card-validator/issues/3/comments","events_url":"https://api.github.com/repos/braintree/card-validator/issues/3/events","html_url":"https://github.com/braintree/card-validator/issues/3","id":72299836,"number":3,"title":"Add Browserify standalone option","user":{"login":"jeffcarp","id":916028,"avatar_url":"https://avatars.githubusercontent.com/u/916028?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffcarp","html_url":"https://github.com/jeffcarp","followers_url":"https://api.github.com/users/jeffcarp/followers","following_url":"https://api.github.com/users/jeffcarp/following{/other_user}","gists_url":"https://api.github.com/users/jeffcarp/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffcarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffcarp/subscriptions","organizations_url":"https://api.github.com/users/jeffcarp/orgs","repos_url":"https://api.github.com/users/jeffcarp/repos","events_url":"https://api.github.com/users/jeffcarp/events{/privacy}","received_events_url":"https://api.github.com/users/jeffcarp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T22:31:15Z","updated_at":"2015-05-08T18:31:29Z","closed_at":"2015-05-08T18:31:29Z","body":"As suggested by @muffinresearch in https://github.com/braintree/card-validator/issues/2#issuecomment-97819472, to better support AMD and global export for browser builds, we can add a standalone namespace to our [browserify config](https://github.com/braintree/card-validator/blob/master/gulpfile.js#L35). For example:\r\n\r\n```javascript\r\nreturn browserify({\r\n  standalone: 'card-validator',\r\n  entries: config.src.js.main\r\n})\r\n```"}}