{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-js/issues/208","labels_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/208/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/208/events","html_url":"https://github.com/swagger-api/swagger-js/issues/208","id":54793266,"number":208,"title":"Empty object when browserified","user":{"login":"nhagen","id":729749,"avatar_url":"https://avatars.githubusercontent.com/u/729749?v=3","gravatar_id":"","url":"https://api.github.com/users/nhagen","html_url":"https://github.com/nhagen","followers_url":"https://api.github.com/users/nhagen/followers","following_url":"https://api.github.com/users/nhagen/following{/other_user}","gists_url":"https://api.github.com/users/nhagen/gists{/gist_id}","starred_url":"https://api.github.com/users/nhagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhagen/subscriptions","organizations_url":"https://api.github.com/users/nhagen/orgs","repos_url":"https://api.github.com/users/nhagen/repos","events_url":"https://api.github.com/users/nhagen/events{/privacy}","received_events_url":"https://api.github.com/users/nhagen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"whitlockjc","id":98899,"avatar_url":"https://avatars.githubusercontent.com/u/98899?v=3","gravatar_id":"","url":"https://api.github.com/users/whitlockjc","html_url":"https://github.com/whitlockjc","followers_url":"https://api.github.com/users/whitlockjc/followers","following_url":"https://api.github.com/users/whitlockjc/following{/other_user}","gists_url":"https://api.github.com/users/whitlockjc/gists{/gist_id}","starred_url":"https://api.github.com/users/whitlockjc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitlockjc/subscriptions","organizations_url":"https://api.github.com/users/whitlockjc/orgs","repos_url":"https://api.github.com/users/whitlockjc/repos","events_url":"https://api.github.com/users/whitlockjc/events{/privacy}","received_events_url":"https://api.github.com/users/whitlockjc/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-js/milestones/2","html_url":"https://github.com/swagger-api/swagger-js/milestones/v2.1-M2","labels_url":"https://api.github.com/repos/swagger-api/swagger-js/milestones/2/labels","id":913884,"number":2,"title":"v2.1-M2","description":"Include model composition\r\n* advanced modeling features in swagger-spec\r\n* add xml/json rendering OR move to UI tier\r\n* remove globals once and for all\r\n","creator":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":14,"state":"open","created_at":"2014-12-24T02:41:04Z","updated_at":"2015-03-09T16:05:53Z","due_on":"2015-03-14T07:00:00Z","closed_at":null},"comments":9,"created_at":"2015-01-19T17:49:04Z","updated_at":"2015-03-09T16:05:53Z","closed_at":"2015-03-09T16:05:53Z","body":"I have a simple wrapper module that starts with:\r\n\r\n``` javascript\r\nvar EventEmitter = require('events').EventEmitter;\r\nvar util = require('util');\r\nvar swagger = require('swagger-client');\r\n\r\nconsole.log(swagger) // { } in browser, { ... normal stuff ... } in repl\r\n\r\n// Bunch of stuff below\r\n```\r\n\r\nAs mentioned by the log comment, I get different values in REPL and the browser. I can use it in the REPL but not in the browser. Should this client not work with browserify?"}}