{"action":"opened","number":803,"pull_request":{"url":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/803","id":61088903,"html_url":"https://github.com/olton/Metro-UI-CSS/pull/803","diff_url":"https://github.com/olton/Metro-UI-CSS/pull/803.diff","patch_url":"https://github.com/olton/Metro-UI-CSS/pull/803.patch","issue_url":"https://api.github.com/repos/olton/Metro-UI-CSS/issues/803","number":803,"state":"open","locked":false,"title":"Fix notify system issues","user":{"login":"JSoon","id":7589350,"avatar_url":"https://avatars.githubusercontent.com/u/7589350?v=3","gravatar_id":"","url":"https://api.github.com/users/JSoon","html_url":"https://github.com/JSoon","followers_url":"https://api.github.com/users/JSoon/followers","following_url":"https://api.github.com/users/JSoon/following{/other_user}","gists_url":"https://api.github.com/users/JSoon/gists{/gist_id}","starred_url":"https://api.github.com/users/JSoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSoon/subscriptions","organizations_url":"https://api.github.com/users/JSoon/orgs","repos_url":"https://api.github.com/users/JSoon/repos","events_url":"https://api.github.com/users/JSoon/events{/privacy}","received_events_url":"https://api.github.com/users/JSoon/received_events","type":"User","site_admin":false},"body":"```javascript\r\n// test codes\r\n\r\ndocument.getElementById('J_Notify').onclick = function() {\r\n    $.Notify({\r\n        caption: 'Notify title',\r\n        content: 'Notify content',\r\n        keepOpen: true,\r\n        position: 'right', // default\r\n        width: '500px'\r\n    });\r\n};\r\n```\r\n\r\n## 1. Modify max-width no matter whether or not the giving o.width is greater than it.\r\n\r\n*before:*\r\n![qq 20160229221558](https://cloud.githubusercontent.com/assets/7589350/13397235/0f11dab4-df34-11e5-981f-8c359c46b496.png)\r\n\r\n*after:*\r\n![qq 20160229223202](https://cloud.githubusercontent.com/assets/7589350/13397317/57a7b582-df34-11e5-83ba-2e771831c67d.png)\r\n\r\n## 2. Add position config to notify system.\r\n\r\n*right(default):*\r\n![qq 20160229223517](https://cloud.githubusercontent.com/assets/7589350/13397423/cac725f2-df34-11e5-9554-8041b58c0afb.png)\r\n\r\n*left:*\r\n![qq 20160229223659](https://cloud.githubusercontent.com/assets/7589350/13397468/19d8edec-df35-11e5-80e8-667d4c81c48c.png)\r\n\r\n*center:*\r\n![qq 20160229223624](https://cloud.githubusercontent.com/assets/7589350/13397475/2060b9f6-df35-11e5-9f2c-98a36d20517f.png)\r\n\r\n","created_at":"2016-02-29T14:52:52Z","updated_at":"2016-02-29T14:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/803/commits","review_comments_url":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/803/comments","review_comment_url":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/olton/Metro-UI-CSS/issues/803/comments","statuses_url":"https://api.github.com/repos/olton/Metro-UI-CSS/statuses/6d2a3fecc2f0d36ec229914e8cd3c18d00bd2fec","head":{"label":"JSoon:jsoon","ref":"jsoon","sha":"6d2a3fecc2f0d36ec229914e8cd3c18d00bd2fec","user":{"login":"JSoon","id":7589350,"avatar_url":"https://avatars.githubusercontent.com/u/7589350?v=3","gravatar_id":"","url":"https://api.github.com/users/JSoon","html_url":"https://github.com/JSoon","followers_url":"https://api.github.com/users/JSoon/followers","following_url":"https://api.github.com/users/JSoon/following{/other_user}","gists_url":"https://api.github.com/users/JSoon/gists{/gist_id}","starred_url":"https://api.github.com/users/JSoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSoon/subscriptions","organizations_url":"https://api.github.com/users/JSoon/orgs","repos_url":"https://api.github.com/users/JSoon/repos","events_url":"https://api.github.com/users/JSoon/events{/privacy}","received_events_url":"https://api.github.com/users/JSoon/received_events","type":"User","site_admin":false},"repo":{"id":52493304,"name":"Metro-UI-CSS","full_name":"JSoon/Metro-UI-CSS","owner":{"login":"JSoon","id":7589350,"avatar_url":"https://avatars.githubusercontent.com/u/7589350?v=3","gravatar_id":"","url":"https://api.github.com/users/JSoon","html_url":"https://github.com/JSoon","followers_url":"https://api.github.com/users/JSoon/followers","following_url":"https://api.github.com/users/JSoon/following{/other_user}","gists_url":"https://api.github.com/users/JSoon/gists{/gist_id}","starred_url":"https://api.github.com/users/JSoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSoon/subscriptions","organizations_url":"https://api.github.com/users/JSoon/orgs","repos_url":"https://api.github.com/users/JSoon/repos","events_url":"https://api.github.com/users/JSoon/events{/privacy}","received_events_url":"https://api.github.com/users/JSoon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JSoon/Metro-UI-CSS","description":"CSS styles for build Windows 8 Metro UI stylable interface","fork":true,"url":"https://api.github.com/repos/JSoon/Metro-UI-CSS","forks_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/forks","keys_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/teams","hooks_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/hooks","issue_events_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/issues/events{/number}","events_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/events","assignees_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/assignees{/user}","branches_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/branches{/branch}","tags_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/tags","blobs_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/git/refs{/sha}","trees_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/statuses/{sha}","languages_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/languages","stargazers_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/stargazers","contributors_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/contributors","subscribers_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/subscribers","subscription_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/subscription","commits_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/commits{/sha}","git_commits_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/git/commits{/sha}","comments_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/comments{/number}","issue_comment_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/issues/comments{/number}","contents_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/contents/{+path}","compare_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/merges","archive_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/downloads","issues_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/issues{/number}","pulls_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/pulls{/number}","milestones_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/milestones{/number}","notifications_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/labels{/name}","releases_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/releases{/id}","deployments_url":"https://api.github.com/repos/JSoon/Metro-UI-CSS/deployments","created_at":"2016-02-25T03:16:51Z","updated_at":"2016-02-25T03:16:52Z","pushed_at":"2016-02-29T14:04:04Z","git_url":"git://github.com/JSoon/Metro-UI-CSS.git","ssh_url":"git@github.com:JSoon/Metro-UI-CSS.git","clone_url":"https://github.com/JSoon/Metro-UI-CSS.git","svn_url":"https://github.com/JSoon/Metro-UI-CSS","homepage":"http://metroui.org.ua/","size":89515,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"olton:develop","ref":"develop","sha":"95baeb12c42c616dd18295cb0e58fd4c4b60e83a","user":{"login":"olton","id":365108,"avatar_url":"https://avatars.githubusercontent.com/u/365108?v=3","gravatar_id":"","url":"https://api.github.com/users/olton","html_url":"https://github.com/olton","followers_url":"https://api.github.com/users/olton/followers","following_url":"https://api.github.com/users/olton/following{/other_user}","gists_url":"https://api.github.com/users/olton/gists{/gist_id}","starred_url":"https://api.github.com/users/olton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olton/subscriptions","organizations_url":"https://api.github.com/users/olton/orgs","repos_url":"https://api.github.com/users/olton/repos","events_url":"https://api.github.com/users/olton/events{/privacy}","received_events_url":"https://api.github.com/users/olton/received_events","type":"User","site_admin":false},"repo":{"id":3671042,"name":"Metro-UI-CSS","full_name":"olton/Metro-UI-CSS","owner":{"login":"olton","id":365108,"avatar_url":"https://avatars.githubusercontent.com/u/365108?v=3","gravatar_id":"","url":"https://api.github.com/users/olton","html_url":"https://github.com/olton","followers_url":"https://api.github.com/users/olton/followers","following_url":"https://api.github.com/users/olton/following{/other_user}","gists_url":"https://api.github.com/users/olton/gists{/gist_id}","starred_url":"https://api.github.com/users/olton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olton/subscriptions","organizations_url":"https://api.github.com/users/olton/orgs","repos_url":"https://api.github.com/users/olton/repos","events_url":"https://api.github.com/users/olton/events{/privacy}","received_events_url":"https://api.github.com/users/olton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olton/Metro-UI-CSS","description":"CSS styles for build Windows 8 Metro UI stylable interface","fork":false,"url":"https://api.github.com/repos/olton/Metro-UI-CSS","forks_url":"https://api.github.com/repos/olton/Metro-UI-CSS/forks","keys_url":"https://api.github.com/repos/olton/Metro-UI-CSS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olton/Metro-UI-CSS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olton/Metro-UI-CSS/teams","hooks_url":"https://api.github.com/repos/olton/Metro-UI-CSS/hooks","issue_events_url":"https://api.github.com/repos/olton/Metro-UI-CSS/issues/events{/number}","events_url":"https://api.github.com/repos/olton/Metro-UI-CSS/events","assignees_url":"https://api.github.com/repos/olton/Metro-UI-CSS/assignees{/user}","branches_url":"https://api.github.com/repos/olton/Metro-UI-CSS/branches{/branch}","tags_url":"https://api.github.com/repos/olton/Metro-UI-CSS/tags","blobs_url":"https://api.github.com/repos/olton/Metro-UI-CSS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olton/Metro-UI-CSS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olton/Metro-UI-CSS/git/refs{/sha}","trees_url":"https://api.github.com/repos/olton/Metro-UI-CSS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olton/Metro-UI-CSS/statuses/{sha}","languages_url":"https://api.github.com/repos/olton/Metro-UI-CSS/languages","stargazers_url":"https://api.github.com/repos/olton/Metro-UI-CSS/stargazers","contributors_url":"https://api.github.com/repos/olton/Metro-UI-CSS/contributors","subscribers_url":"https://api.github.com/repos/olton/Metro-UI-CSS/subscribers","subscription_url":"https://api.github.com/repos/olton/Metro-UI-CSS/subscription","commits_url":"https://api.github.com/repos/olton/Metro-UI-CSS/commits{/sha}","git_commits_url":"https://api.github.com/repos/olton/Metro-UI-CSS/git/commits{/sha}","comments_url":"https://api.github.com/repos/olton/Metro-UI-CSS/comments{/number}","issue_comment_url":"https://api.github.com/repos/olton/Metro-UI-CSS/issues/comments{/number}","contents_url":"https://api.github.com/repos/olton/Metro-UI-CSS/contents/{+path}","compare_url":"https://api.github.com/repos/olton/Metro-UI-CSS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olton/Metro-UI-CSS/merges","archive_url":"https://api.github.com/repos/olton/Metro-UI-CSS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olton/Metro-UI-CSS/downloads","issues_url":"https://api.github.com/repos/olton/Metro-UI-CSS/issues{/number}","pulls_url":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls{/number}","milestones_url":"https://api.github.com/repos/olton/Metro-UI-CSS/milestones{/number}","notifications_url":"https://api.github.com/repos/olton/Metro-UI-CSS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olton/Metro-UI-CSS/labels{/name}","releases_url":"https://api.github.com/repos/olton/Metro-UI-CSS/releases{/id}","deployments_url":"https://api.github.com/repos/olton/Metro-UI-CSS/deployments","created_at":"2012-03-09T13:54:28Z","updated_at":"2016-02-29T10:06:31Z","pushed_at":"2016-02-29T14:40:56Z","git_url":"git://github.com/olton/Metro-UI-CSS.git","ssh_url":"git@github.com:olton/Metro-UI-CSS.git","clone_url":"https://github.com/olton/Metro-UI-CSS.git","svn_url":"https://github.com/olton/Metro-UI-CSS","homepage":"http://metroui.org.ua/","size":91006,"stargazers_count":4762,"watchers_count":4762,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1769,"mirror_url":null,"open_issues_count":11,"forks":1769,"open_issues":11,"watchers":4762,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/803"},"html":{"href":"https://github.com/olton/Metro-UI-CSS/pull/803"},"issue":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/issues/803"},"comments":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/issues/803/comments"},"review_comments":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/803/comments"},"review_comment":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/pulls/803/commits"},"statuses":{"href":"https://api.github.com/repos/olton/Metro-UI-CSS/statuses/6d2a3fecc2f0d36ec229914e8cd3c18d00bd2fec"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":23,"additions":82,"deletions":25,"changed_files":4}}