{"action":"created","issue":{"url":"https://api.github.com/repos/BranchMetrics/Web-SDK/issues/14","labels_url":"https://api.github.com/repos/BranchMetrics/Web-SDK/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/BranchMetrics/Web-SDK/issues/14/comments","events_url":"https://api.github.com/repos/BranchMetrics/Web-SDK/issues/14/events","html_url":"https://github.com/BranchMetrics/Web-SDK/issues/14","id":60007268,"number":14,"title":"Minifying and Compressing Javascript","user":{"login":"kenleezle","id":1616389,"avatar_url":"https://avatars.githubusercontent.com/u/1616389?v=3","gravatar_id":"","url":"https://api.github.com/users/kenleezle","html_url":"https://github.com/kenleezle","followers_url":"https://api.github.com/users/kenleezle/followers","following_url":"https://api.github.com/users/kenleezle/following{/other_user}","gists_url":"https://api.github.com/users/kenleezle/gists{/gist_id}","starred_url":"https://api.github.com/users/kenleezle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenleezle/subscriptions","organizations_url":"https://api.github.com/users/kenleezle/orgs","repos_url":"https://api.github.com/users/kenleezle/repos","events_url":"https://api.github.com/users/kenleezle/events{/privacy}","received_events_url":"https://api.github.com/users/kenleezle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-05T20:00:44Z","updated_at":"2015-03-05T20:55:47Z","closed_at":null,"body":"I have an infrastructure in place to concatenate, minify, and then gzip all of my javascript dependencies into one single app file. Could you indicate in your docs how to fit your sdk into a framework like this.\r\n\r\nUsually this would work by having a script include, but you seem to have embedded inside of your quick start, which won't work.\r\n\r\nAny Ideas? Thanks."},"comment":{"url":"https://api.github.com/repos/BranchMetrics/Web-SDK/issues/comments/77449747","html_url":"https://github.com/BranchMetrics/Web-SDK/issues/14#issuecomment-77449747","issue_url":"https://api.github.com/repos/BranchMetrics/Web-SDK/issues/14","id":77449747,"user":{"login":"kenleezle","id":1616389,"avatar_url":"https://avatars.githubusercontent.com/u/1616389?v=3","gravatar_id":"","url":"https://api.github.com/users/kenleezle","html_url":"https://github.com/kenleezle","followers_url":"https://api.github.com/users/kenleezle/followers","following_url":"https://api.github.com/users/kenleezle/following{/other_user}","gists_url":"https://api.github.com/users/kenleezle/gists{/gist_id}","starred_url":"https://api.github.com/users/kenleezle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenleezle/subscriptions","organizations_url":"https://api.github.com/users/kenleezle/orgs","repos_url":"https://api.github.com/users/kenleezle/repos","events_url":"https://api.github.com/users/kenleezle/events{/privacy}","received_events_url":"https://api.github.com/users/kenleezle/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T20:55:47Z","updated_at":"2015-03-05T20:55:47Z","body":"OK, i've got it working without require, but including the javascript in the normal fashion which makes a branch variable globally available. thanks a lot for your help and you can close this issue. if you do know a trick to make branch forget you x'd the banner tell me though ;) tell mike i said thanks too."}}