{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/product-mdm/pulls/comments/51102506","id":51102506,"diff_hunk":"@@ -1,3 +1,37 @@\n+\n+function utf8_to_b64( str ) {\n+    return window.btoa(unescape(encodeURIComponent( str )));\n+}\n+\n+function b64_to_utf8( str ) {","path":"modules/apps/jaggery/mdm/src/mdm/units/login/public/js/login-box.js","position":6,"original_position":6,"commit_id":"52b1bede8afee9dfa4fdaf0d208b27c46eb4048f","original_commit_id":"52b1bede8afee9dfa4fdaf0d208b27c46eb4048f","user":{"login":"Kamidu","id":13974966,"avatar_url":"https://avatars.githubusercontent.com/u/13974966?v=3","gravatar_id":"","url":"https://api.github.com/users/Kamidu","html_url":"https://github.com/Kamidu","followers_url":"https://api.github.com/users/Kamidu/followers","following_url":"https://api.github.com/users/Kamidu/following{/other_user}","gists_url":"https://api.github.com/users/Kamidu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kamidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kamidu/subscriptions","organizations_url":"https://api.github.com/users/Kamidu/orgs","repos_url":"https://api.github.com/users/Kamidu/repos","events_url":"https://api.github.com/users/Kamidu/events{/privacy}","received_events_url":"https://api.github.com/users/Kamidu/received_events","type":"User","site_admin":false},"body":"uill.js is a backend js file while this is a front end js file.\r\nfor increase re-usability of methods which requires from various units we can put those front js methods into a single unit and include that in every unit which requires those functionalities needed.WDYT?","created_at":"2016-01-28T10:10:43Z","updated_at":"2016-01-28T10:10:43Z","html_url":"https://github.com/wso2/product-mdm/pull/96#discussion_r51102506","pull_request_url":"https://api.github.com/repos/wso2/product-mdm/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/comments/51102506"},"html":{"href":"https://github.com/wso2/product-mdm/pull/96#discussion_r51102506"},"pull_request":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/product-mdm/pulls/96","id":51344341,"html_url":"https://github.com/wso2/product-mdm/pull/96","diff_url":"https://github.com/wso2/product-mdm/pull/96.diff","patch_url":"https://github.com/wso2/product-mdm/pull/96.patch","issue_url":"https://api.github.com/repos/wso2/product-mdm/issues/96","number":96,"state":"closed","locked":false,"title":"Fix for Jira Issue - EMM-967","user":{"login":"Kamidu","id":13974966,"avatar_url":"https://avatars.githubusercontent.com/u/13974966?v=3","gravatar_id":"","url":"https://api.github.com/users/Kamidu","html_url":"https://github.com/Kamidu","followers_url":"https://api.github.com/users/Kamidu/followers","following_url":"https://api.github.com/users/Kamidu/following{/other_user}","gists_url":"https://api.github.com/users/Kamidu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kamidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kamidu/subscriptions","organizations_url":"https://api.github.com/users/Kamidu/orgs","repos_url":"https://api.github.com/users/Kamidu/repos","events_url":"https://api.github.com/users/Kamidu/events{/privacy}","received_events_url":"https://api.github.com/users/Kamidu/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-20T11:12:58Z","updated_at":"2016-01-28T10:10:43Z","closed_at":"2015-11-20T12:10:12Z","merged_at":"2015-11-20T12:10:12Z","merge_commit_sha":"83d96236d190752115477b064f185f11803470ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/product-mdm/pulls/96/commits","review_comments_url":"https://api.github.com/repos/wso2/product-mdm/pulls/96/comments","review_comment_url":"https://api.github.com/repos/wso2/product-mdm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/product-mdm/issues/96/comments","statuses_url":"https://api.github.com/repos/wso2/product-mdm/statuses/52b1bede8afee9dfa4fdaf0d208b27c46eb4048f","head":{"label":"Kamidu:master","ref":"master","sha":"52b1bede8afee9dfa4fdaf0d208b27c46eb4048f","user":{"login":"Kamidu","id":13974966,"avatar_url":"https://avatars.githubusercontent.com/u/13974966?v=3","gravatar_id":"","url":"https://api.github.com/users/Kamidu","html_url":"https://github.com/Kamidu","followers_url":"https://api.github.com/users/Kamidu/followers","following_url":"https://api.github.com/users/Kamidu/following{/other_user}","gists_url":"https://api.github.com/users/Kamidu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kamidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kamidu/subscriptions","organizations_url":"https://api.github.com/users/Kamidu/orgs","repos_url":"https://api.github.com/users/Kamidu/repos","events_url":"https://api.github.com/users/Kamidu/events{/privacy}","received_events_url":"https://api.github.com/users/Kamidu/received_events","type":"User","site_admin":false},"repo":{"id":41404311,"name":"product-mdm","full_name":"Kamidu/product-mdm","owner":{"login":"Kamidu","id":13974966,"avatar_url":"https://avatars.githubusercontent.com/u/13974966?v=3","gravatar_id":"","url":"https://api.github.com/users/Kamidu","html_url":"https://github.com/Kamidu","followers_url":"https://api.github.com/users/Kamidu/followers","following_url":"https://api.github.com/users/Kamidu/following{/other_user}","gists_url":"https://api.github.com/users/Kamidu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kamidu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kamidu/subscriptions","organizations_url":"https://api.github.com/users/Kamidu/orgs","repos_url":"https://api.github.com/users/Kamidu/repos","events_url":"https://api.github.com/users/Kamidu/events{/privacy}","received_events_url":"https://api.github.com/users/Kamidu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kamidu/product-mdm","description":"","fork":true,"url":"https://api.github.com/repos/Kamidu/product-mdm","forks_url":"https://api.github.com/repos/Kamidu/product-mdm/forks","keys_url":"https://api.github.com/repos/Kamidu/product-mdm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kamidu/product-mdm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kamidu/product-mdm/teams","hooks_url":"https://api.github.com/repos/Kamidu/product-mdm/hooks","issue_events_url":"https://api.github.com/repos/Kamidu/product-mdm/issues/events{/number}","events_url":"https://api.github.com/repos/Kamidu/product-mdm/events","assignees_url":"https://api.github.com/repos/Kamidu/product-mdm/assignees{/user}","branches_url":"https://api.github.com/repos/Kamidu/product-mdm/branches{/branch}","tags_url":"https://api.github.com/repos/Kamidu/product-mdm/tags","blobs_url":"https://api.github.com/repos/Kamidu/product-mdm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kamidu/product-mdm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kamidu/product-mdm/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kamidu/product-mdm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kamidu/product-mdm/statuses/{sha}","languages_url":"https://api.github.com/repos/Kamidu/product-mdm/languages","stargazers_url":"https://api.github.com/repos/Kamidu/product-mdm/stargazers","contributors_url":"https://api.github.com/repos/Kamidu/product-mdm/contributors","subscribers_url":"https://api.github.com/repos/Kamidu/product-mdm/subscribers","subscription_url":"https://api.github.com/repos/Kamidu/product-mdm/subscription","commits_url":"https://api.github.com/repos/Kamidu/product-mdm/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kamidu/product-mdm/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kamidu/product-mdm/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kamidu/product-mdm/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kamidu/product-mdm/contents/{+path}","compare_url":"https://api.github.com/repos/Kamidu/product-mdm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kamidu/product-mdm/merges","archive_url":"https://api.github.com/repos/Kamidu/product-mdm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kamidu/product-mdm/downloads","issues_url":"https://api.github.com/repos/Kamidu/product-mdm/issues{/number}","pulls_url":"https://api.github.com/repos/Kamidu/product-mdm/pulls{/number}","milestones_url":"https://api.github.com/repos/Kamidu/product-mdm/milestones{/number}","notifications_url":"https://api.github.com/repos/Kamidu/product-mdm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kamidu/product-mdm/labels{/name}","releases_url":"https://api.github.com/repos/Kamidu/product-mdm/releases{/id}","deployments_url":"https://api.github.com/repos/Kamidu/product-mdm/deployments","created_at":"2015-08-26T04:27:36Z","updated_at":"2016-01-12T17:44:35Z","pushed_at":"2016-01-25T06:20:50Z","git_url":"git://github.com/Kamidu/product-mdm.git","ssh_url":"git@github.com:Kamidu/product-mdm.git","clone_url":"https://github.com/Kamidu/product-mdm.git","svn_url":"https://github.com/Kamidu/product-mdm","homepage":null,"size":72459,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"e7502e58ee92ba5223c990a863dfb0554b6fde0c","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":29459213,"name":"product-mdm","full_name":"wso2/product-mdm","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/product-mdm","description":"","fork":false,"url":"https://api.github.com/repos/wso2/product-mdm","forks_url":"https://api.github.com/repos/wso2/product-mdm/forks","keys_url":"https://api.github.com/repos/wso2/product-mdm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/product-mdm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/product-mdm/teams","hooks_url":"https://api.github.com/repos/wso2/product-mdm/hooks","issue_events_url":"https://api.github.com/repos/wso2/product-mdm/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/product-mdm/events","assignees_url":"https://api.github.com/repos/wso2/product-mdm/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/product-mdm/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/product-mdm/tags","blobs_url":"https://api.github.com/repos/wso2/product-mdm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/product-mdm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/product-mdm/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/product-mdm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/product-mdm/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/product-mdm/languages","stargazers_url":"https://api.github.com/repos/wso2/product-mdm/stargazers","contributors_url":"https://api.github.com/repos/wso2/product-mdm/contributors","subscribers_url":"https://api.github.com/repos/wso2/product-mdm/subscribers","subscription_url":"https://api.github.com/repos/wso2/product-mdm/subscription","commits_url":"https://api.github.com/repos/wso2/product-mdm/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/product-mdm/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/product-mdm/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/product-mdm/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/product-mdm/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/product-mdm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/product-mdm/merges","archive_url":"https://api.github.com/repos/wso2/product-mdm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/product-mdm/downloads","issues_url":"https://api.github.com/repos/wso2/product-mdm/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/product-mdm/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/product-mdm/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/product-mdm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/product-mdm/labels{/name}","releases_url":"https://api.github.com/repos/wso2/product-mdm/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/product-mdm/deployments","created_at":"2015-01-19T07:36:01Z","updated_at":"2016-01-20T18:31:15Z","pushed_at":"2016-01-28T09:14:26Z","git_url":"git://github.com/wso2/product-mdm.git","ssh_url":"git@github.com:wso2/product-mdm.git","clone_url":"https://github.com/wso2/product-mdm.git","svn_url":"https://github.com/wso2/product-mdm","homepage":null,"size":72650,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":3,"forks":32,"open_issues":3,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/96"},"html":{"href":"https://github.com/wso2/product-mdm/pull/96"},"issue":{"href":"https://api.github.com/repos/wso2/product-mdm/issues/96"},"comments":{"href":"https://api.github.com/repos/wso2/product-mdm/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/product-mdm/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/product-mdm/statuses/52b1bede8afee9dfa4fdaf0d208b27c46eb4048f"}}}}