{"action":"opened","number":160,"pull_request":{"url":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/160","id":54460381,"html_url":"https://github.com/faisalman/ua-parser-js/pull/160","diff_url":"https://github.com/faisalman/ua-parser-js/pull/160.diff","patch_url":"https://github.com/faisalman/ua-parser-js/pull/160.patch","issue_url":"https://api.github.com/repos/faisalman/ua-parser-js/issues/160","number":160,"state":"open","locked":false,"title":"Add name to UA-Parser RequireJS module","user":{"login":"gryphon","id":422103,"avatar_url":"https://avatars.githubusercontent.com/u/422103?v=3","gravatar_id":"","url":"https://api.github.com/users/gryphon","html_url":"https://github.com/gryphon","followers_url":"https://api.github.com/users/gryphon/followers","following_url":"https://api.github.com/users/gryphon/following{/other_user}","gists_url":"https://api.github.com/users/gryphon/gists{/gist_id}","starred_url":"https://api.github.com/users/gryphon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gryphon/subscriptions","organizations_url":"https://api.github.com/users/gryphon/orgs","repos_url":"https://api.github.com/users/gryphon/repos","events_url":"https://api.github.com/users/gryphon/events{/privacy}","received_events_url":"https://api.github.com/users/gryphon/received_events","type":"User","site_admin":false},"body":"The issue was if I make the widget or something else which will be compiled with UAParser in one file and included to requirejs-enabled page with simple <script> tag. \r\n\r\nIn this case there will be an error http://requirejs.org/docs/errors.html#mismatch\r\n\r\nAdding name to module will not affect normal usage but will let this issue gone in pre-compiled scripts.","created_at":"2015-12-23T11:19:15Z","updated_at":"2015-12-23T11:19:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/160/commits","review_comments_url":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/160/comments","review_comment_url":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/faisalman/ua-parser-js/issues/160/comments","statuses_url":"https://api.github.com/repos/faisalman/ua-parser-js/statuses/99a80e88fb3719e118004fd524b33db9a9b577a8","head":{"label":"gryphon:master","ref":"master","sha":"99a80e88fb3719e118004fd524b33db9a9b577a8","user":{"login":"gryphon","id":422103,"avatar_url":"https://avatars.githubusercontent.com/u/422103?v=3","gravatar_id":"","url":"https://api.github.com/users/gryphon","html_url":"https://github.com/gryphon","followers_url":"https://api.github.com/users/gryphon/followers","following_url":"https://api.github.com/users/gryphon/following{/other_user}","gists_url":"https://api.github.com/users/gryphon/gists{/gist_id}","starred_url":"https://api.github.com/users/gryphon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gryphon/subscriptions","organizations_url":"https://api.github.com/users/gryphon/orgs","repos_url":"https://api.github.com/users/gryphon/repos","events_url":"https://api.github.com/users/gryphon/events{/privacy}","received_events_url":"https://api.github.com/users/gryphon/received_events","type":"User","site_admin":false},"repo":{"id":48486417,"name":"ua-parser-js","full_name":"gryphon/ua-parser-js","owner":{"login":"gryphon","id":422103,"avatar_url":"https://avatars.githubusercontent.com/u/422103?v=3","gravatar_id":"","url":"https://api.github.com/users/gryphon","html_url":"https://github.com/gryphon","followers_url":"https://api.github.com/users/gryphon/followers","following_url":"https://api.github.com/users/gryphon/following{/other_user}","gists_url":"https://api.github.com/users/gryphon/gists{/gist_id}","starred_url":"https://api.github.com/users/gryphon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gryphon/subscriptions","organizations_url":"https://api.github.com/users/gryphon/orgs","repos_url":"https://api.github.com/users/gryphon/repos","events_url":"https://api.github.com/users/gryphon/events{/privacy}","received_events_url":"https://api.github.com/users/gryphon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gryphon/ua-parser-js","description":"UAParser.js - Lightweight JavaScript-based User-Agent string parser. Supports browser & node.js environment. Also available as jQuery/Zepto plugin, Component/Bower/Meteor package, & RequireJS/AMD module","fork":true,"url":"https://api.github.com/repos/gryphon/ua-parser-js","forks_url":"https://api.github.com/repos/gryphon/ua-parser-js/forks","keys_url":"https://api.github.com/repos/gryphon/ua-parser-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gryphon/ua-parser-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gryphon/ua-parser-js/teams","hooks_url":"https://api.github.com/repos/gryphon/ua-parser-js/hooks","issue_events_url":"https://api.github.com/repos/gryphon/ua-parser-js/issues/events{/number}","events_url":"https://api.github.com/repos/gryphon/ua-parser-js/events","assignees_url":"https://api.github.com/repos/gryphon/ua-parser-js/assignees{/user}","branches_url":"https://api.github.com/repos/gryphon/ua-parser-js/branches{/branch}","tags_url":"https://api.github.com/repos/gryphon/ua-parser-js/tags","blobs_url":"https://api.github.com/repos/gryphon/ua-parser-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gryphon/ua-parser-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gryphon/ua-parser-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/gryphon/ua-parser-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gryphon/ua-parser-js/statuses/{sha}","languages_url":"https://api.github.com/repos/gryphon/ua-parser-js/languages","stargazers_url":"https://api.github.com/repos/gryphon/ua-parser-js/stargazers","contributors_url":"https://api.github.com/repos/gryphon/ua-parser-js/contributors","subscribers_url":"https://api.github.com/repos/gryphon/ua-parser-js/subscribers","subscription_url":"https://api.github.com/repos/gryphon/ua-parser-js/subscription","commits_url":"https://api.github.com/repos/gryphon/ua-parser-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/gryphon/ua-parser-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/gryphon/ua-parser-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/gryphon/ua-parser-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/gryphon/ua-parser-js/contents/{+path}","compare_url":"https://api.github.com/repos/gryphon/ua-parser-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gryphon/ua-parser-js/merges","archive_url":"https://api.github.com/repos/gryphon/ua-parser-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gryphon/ua-parser-js/downloads","issues_url":"https://api.github.com/repos/gryphon/ua-parser-js/issues{/number}","pulls_url":"https://api.github.com/repos/gryphon/ua-parser-js/pulls{/number}","milestones_url":"https://api.github.com/repos/gryphon/ua-parser-js/milestones{/number}","notifications_url":"https://api.github.com/repos/gryphon/ua-parser-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gryphon/ua-parser-js/labels{/name}","releases_url":"https://api.github.com/repos/gryphon/ua-parser-js/releases{/id}","created_at":"2015-12-23T11:09:18Z","updated_at":"2015-12-23T11:09:18Z","pushed_at":"2015-12-23T11:10:38Z","git_url":"git://github.com/gryphon/ua-parser-js.git","ssh_url":"git@github.com:gryphon/ua-parser-js.git","clone_url":"https://github.com/gryphon/ua-parser-js.git","svn_url":"https://github.com/gryphon/ua-parser-js","homepage":"http://faisalman.github.io/ua-parser-js","size":1907,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"faisalman:master","ref":"master","sha":"cbba2f5728cd0a590253cb61efe3dce93c466c5d","user":{"login":"faisalman","id":460302,"avatar_url":"https://avatars.githubusercontent.com/u/460302?v=3","gravatar_id":"","url":"https://api.github.com/users/faisalman","html_url":"https://github.com/faisalman","followers_url":"https://api.github.com/users/faisalman/followers","following_url":"https://api.github.com/users/faisalman/following{/other_user}","gists_url":"https://api.github.com/users/faisalman/gists{/gist_id}","starred_url":"https://api.github.com/users/faisalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faisalman/subscriptions","organizations_url":"https://api.github.com/users/faisalman/orgs","repos_url":"https://api.github.com/users/faisalman/repos","events_url":"https://api.github.com/users/faisalman/events{/privacy}","received_events_url":"https://api.github.com/users/faisalman/received_events","type":"User","site_admin":false},"repo":{"id":3320710,"name":"ua-parser-js","full_name":"faisalman/ua-parser-js","owner":{"login":"faisalman","id":460302,"avatar_url":"https://avatars.githubusercontent.com/u/460302?v=3","gravatar_id":"","url":"https://api.github.com/users/faisalman","html_url":"https://github.com/faisalman","followers_url":"https://api.github.com/users/faisalman/followers","following_url":"https://api.github.com/users/faisalman/following{/other_user}","gists_url":"https://api.github.com/users/faisalman/gists{/gist_id}","starred_url":"https://api.github.com/users/faisalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faisalman/subscriptions","organizations_url":"https://api.github.com/users/faisalman/orgs","repos_url":"https://api.github.com/users/faisalman/repos","events_url":"https://api.github.com/users/faisalman/events{/privacy}","received_events_url":"https://api.github.com/users/faisalman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/faisalman/ua-parser-js","description":"UAParser.js - Lightweight JavaScript-based User-Agent string parser. Supports browser & node.js environment. Also available as jQuery/Zepto plugin, Component/Bower/Meteor package, & RequireJS/AMD module","fork":false,"url":"https://api.github.com/repos/faisalman/ua-parser-js","forks_url":"https://api.github.com/repos/faisalman/ua-parser-js/forks","keys_url":"https://api.github.com/repos/faisalman/ua-parser-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/faisalman/ua-parser-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/faisalman/ua-parser-js/teams","hooks_url":"https://api.github.com/repos/faisalman/ua-parser-js/hooks","issue_events_url":"https://api.github.com/repos/faisalman/ua-parser-js/issues/events{/number}","events_url":"https://api.github.com/repos/faisalman/ua-parser-js/events","assignees_url":"https://api.github.com/repos/faisalman/ua-parser-js/assignees{/user}","branches_url":"https://api.github.com/repos/faisalman/ua-parser-js/branches{/branch}","tags_url":"https://api.github.com/repos/faisalman/ua-parser-js/tags","blobs_url":"https://api.github.com/repos/faisalman/ua-parser-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/faisalman/ua-parser-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/faisalman/ua-parser-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/faisalman/ua-parser-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/faisalman/ua-parser-js/statuses/{sha}","languages_url":"https://api.github.com/repos/faisalman/ua-parser-js/languages","stargazers_url":"https://api.github.com/repos/faisalman/ua-parser-js/stargazers","contributors_url":"https://api.github.com/repos/faisalman/ua-parser-js/contributors","subscribers_url":"https://api.github.com/repos/faisalman/ua-parser-js/subscribers","subscription_url":"https://api.github.com/repos/faisalman/ua-parser-js/subscription","commits_url":"https://api.github.com/repos/faisalman/ua-parser-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/faisalman/ua-parser-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/faisalman/ua-parser-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/faisalman/ua-parser-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/faisalman/ua-parser-js/contents/{+path}","compare_url":"https://api.github.com/repos/faisalman/ua-parser-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/faisalman/ua-parser-js/merges","archive_url":"https://api.github.com/repos/faisalman/ua-parser-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/faisalman/ua-parser-js/downloads","issues_url":"https://api.github.com/repos/faisalman/ua-parser-js/issues{/number}","pulls_url":"https://api.github.com/repos/faisalman/ua-parser-js/pulls{/number}","milestones_url":"https://api.github.com/repos/faisalman/ua-parser-js/milestones{/number}","notifications_url":"https://api.github.com/repos/faisalman/ua-parser-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/faisalman/ua-parser-js/labels{/name}","releases_url":"https://api.github.com/repos/faisalman/ua-parser-js/releases{/id}","created_at":"2012-02-01T01:11:49Z","updated_at":"2015-12-22T23:10:55Z","pushed_at":"2015-12-12T11:55:18Z","git_url":"git://github.com/faisalman/ua-parser-js.git","ssh_url":"git@github.com:faisalman/ua-parser-js.git","clone_url":"https://github.com/faisalman/ua-parser-js.git","svn_url":"https://github.com/faisalman/ua-parser-js","homepage":"http://faisalman.github.io/ua-parser-js","size":2144,"stargazers_count":1014,"watchers_count":1014,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":215,"mirror_url":null,"open_issues_count":45,"forks":215,"open_issues":45,"watchers":1014,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/160"},"html":{"href":"https://github.com/faisalman/ua-parser-js/pull/160"},"issue":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/issues/160"},"comments":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/faisalman/ua-parser-js/statuses/99a80e88fb3719e118004fd524b33db9a9b577a8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}