{"action":"created","comment":{"url":"https://api.github.com/repos/Brightspace/intl/pulls/comments/41896381","id":41896381,"diff_hunk":"@@ -210,6 +210,30 @@ console.log(\n );\n ```\n \n+## File Size Parsing\n+The `FileSizeFormat` object can be used to format a file size appropriately for the user's locale.\n+\n+Syntax:\n+\n+```javascript\n+var formatFS = new d2lIntl.FileSizeFormat(locale[, options]);\n+```\n+Options:\n+\n+- **locale**: see [overriding locale data](#Overriding Locale Data)","path":"README.md","position":14,"original_position":14,"commit_id":"beacde996235b5c3bfa4ee4188433d6669f37c41","original_commit_id":"beacde996235b5c3bfa4ee4188433d6669f37c41","user":{"login":"omsmith","id":1127384,"avatar_url":"https://avatars.githubusercontent.com/u/1127384?v=3","gravatar_id":"","url":"https://api.github.com/users/omsmith","html_url":"https://github.com/omsmith","followers_url":"https://api.github.com/users/omsmith/followers","following_url":"https://api.github.com/users/omsmith/following{/other_user}","gists_url":"https://api.github.com/users/omsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/omsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omsmith/subscriptions","organizations_url":"https://api.github.com/users/omsmith/orgs","repos_url":"https://api.github.com/users/omsmith/repos","events_url":"https://api.github.com/users/omsmith/events{/privacy}","received_events_url":"https://api.github.com/users/omsmith/received_events","type":"User","site_admin":false},"body":"This isn't an option (member of the `options` object).","created_at":"2015-10-13T17:19:55Z","updated_at":"2015-10-13T17:19:55Z","html_url":"https://github.com/Brightspace/intl/pull/1#discussion_r41896381","pull_request_url":"https://api.github.com/repos/Brightspace/intl/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Brightspace/intl/pulls/comments/41896381"},"html":{"href":"https://github.com/Brightspace/intl/pull/1#discussion_r41896381"},"pull_request":{"href":"https://api.github.com/repos/Brightspace/intl/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Brightspace/intl/pulls/1","id":47310192,"html_url":"https://github.com/Brightspace/intl/pull/1","diff_url":"https://github.com/Brightspace/intl/pull/1.diff","patch_url":"https://github.com/Brightspace/intl/pull/1.patch","issue_url":"https://api.github.com/repos/Brightspace/intl/issues/1","number":1,"state":"open","locked":false,"title":"Added a way to format file sizes","user":{"login":"jstefaniuk-d2l","id":14077760,"avatar_url":"https://avatars.githubusercontent.com/u/14077760?v=3","gravatar_id":"","url":"https://api.github.com/users/jstefaniuk-d2l","html_url":"https://github.com/jstefaniuk-d2l","followers_url":"https://api.github.com/users/jstefaniuk-d2l/followers","following_url":"https://api.github.com/users/jstefaniuk-d2l/following{/other_user}","gists_url":"https://api.github.com/users/jstefaniuk-d2l/gists{/gist_id}","starred_url":"https://api.github.com/users/jstefaniuk-d2l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstefaniuk-d2l/subscriptions","organizations_url":"https://api.github.com/users/jstefaniuk-d2l/orgs","repos_url":"https://api.github.com/users/jstefaniuk-d2l/repos","events_url":"https://api.github.com/users/jstefaniuk-d2l/events{/privacy}","received_events_url":"https://api.github.com/users/jstefaniuk-d2l/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-09T19:25:27Z","updated_at":"2015-10-13T17:19:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d003209c38930c07bad58fb1c8754673aa746f4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Brightspace/intl/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Brightspace/intl/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Brightspace/intl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Brightspace/intl/issues/1/comments","statuses_url":"https://api.github.com/repos/Brightspace/intl/statuses/beacde996235b5c3bfa4ee4188433d6669f37c41","head":{"label":"jstefaniuk-d2l:addFileSize","ref":"addFileSize","sha":"beacde996235b5c3bfa4ee4188433d6669f37c41","user":{"login":"jstefaniuk-d2l","id":14077760,"avatar_url":"https://avatars.githubusercontent.com/u/14077760?v=3","gravatar_id":"","url":"https://api.github.com/users/jstefaniuk-d2l","html_url":"https://github.com/jstefaniuk-d2l","followers_url":"https://api.github.com/users/jstefaniuk-d2l/followers","following_url":"https://api.github.com/users/jstefaniuk-d2l/following{/other_user}","gists_url":"https://api.github.com/users/jstefaniuk-d2l/gists{/gist_id}","starred_url":"https://api.github.com/users/jstefaniuk-d2l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstefaniuk-d2l/subscriptions","organizations_url":"https://api.github.com/users/jstefaniuk-d2l/orgs","repos_url":"https://api.github.com/users/jstefaniuk-d2l/repos","events_url":"https://api.github.com/users/jstefaniuk-d2l/events{/privacy}","received_events_url":"https://api.github.com/users/jstefaniuk-d2l/received_events","type":"User","site_admin":false},"repo":{"id":43975598,"name":"intl","full_name":"jstefaniuk-d2l/intl","owner":{"login":"jstefaniuk-d2l","id":14077760,"avatar_url":"https://avatars.githubusercontent.com/u/14077760?v=3","gravatar_id":"","url":"https://api.github.com/users/jstefaniuk-d2l","html_url":"https://github.com/jstefaniuk-d2l","followers_url":"https://api.github.com/users/jstefaniuk-d2l/followers","following_url":"https://api.github.com/users/jstefaniuk-d2l/following{/other_user}","gists_url":"https://api.github.com/users/jstefaniuk-d2l/gists{/gist_id}","starred_url":"https://api.github.com/users/jstefaniuk-d2l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstefaniuk-d2l/subscriptions","organizations_url":"https://api.github.com/users/jstefaniuk-d2l/orgs","repos_url":"https://api.github.com/users/jstefaniuk-d2l/repos","events_url":"https://api.github.com/users/jstefaniuk-d2l/events{/privacy}","received_events_url":"https://api.github.com/users/jstefaniuk-d2l/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jstefaniuk-d2l/intl","description":"JavaScript internationalization APIs for formatting and parsing numbers, dates and times","fork":true,"url":"https://api.github.com/repos/jstefaniuk-d2l/intl","forks_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/forks","keys_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/teams","hooks_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/hooks","issue_events_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/issues/events{/number}","events_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/events","assignees_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/assignees{/user}","branches_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/branches{/branch}","tags_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/tags","blobs_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/statuses/{sha}","languages_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/languages","stargazers_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/stargazers","contributors_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/contributors","subscribers_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/subscribers","subscription_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/subscription","commits_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/contents/{+path}","compare_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/merges","archive_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/downloads","issues_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/issues{/number}","pulls_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/pulls{/number}","milestones_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/milestones{/number}","notifications_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/labels{/name}","releases_url":"https://api.github.com/repos/jstefaniuk-d2l/intl/releases{/id}","created_at":"2015-10-09T19:22:45Z","updated_at":"2015-10-09T19:22:47Z","pushed_at":"2015-10-13T16:48:00Z","git_url":"git://github.com/jstefaniuk-d2l/intl.git","ssh_url":"git@github.com:jstefaniuk-d2l/intl.git","clone_url":"https://github.com/jstefaniuk-d2l/intl.git","svn_url":"https://github.com/jstefaniuk-d2l/intl","homepage":"","size":141,"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":"Brightspace:master","ref":"master","sha":"cb2359c0d260e0d6d6eaaa0569f7eaddfa20cd78","user":{"login":"Brightspace","id":5429170,"avatar_url":"https://avatars.githubusercontent.com/u/5429170?v=3","gravatar_id":"","url":"https://api.github.com/users/Brightspace","html_url":"https://github.com/Brightspace","followers_url":"https://api.github.com/users/Brightspace/followers","following_url":"https://api.github.com/users/Brightspace/following{/other_user}","gists_url":"https://api.github.com/users/Brightspace/gists{/gist_id}","starred_url":"https://api.github.com/users/Brightspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brightspace/subscriptions","organizations_url":"https://api.github.com/users/Brightspace/orgs","repos_url":"https://api.github.com/users/Brightspace/repos","events_url":"https://api.github.com/users/Brightspace/events{/privacy}","received_events_url":"https://api.github.com/users/Brightspace/received_events","type":"Organization","site_admin":false},"repo":{"id":41118197,"name":"intl","full_name":"Brightspace/intl","owner":{"login":"Brightspace","id":5429170,"avatar_url":"https://avatars.githubusercontent.com/u/5429170?v=3","gravatar_id":"","url":"https://api.github.com/users/Brightspace","html_url":"https://github.com/Brightspace","followers_url":"https://api.github.com/users/Brightspace/followers","following_url":"https://api.github.com/users/Brightspace/following{/other_user}","gists_url":"https://api.github.com/users/Brightspace/gists{/gist_id}","starred_url":"https://api.github.com/users/Brightspace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brightspace/subscriptions","organizations_url":"https://api.github.com/users/Brightspace/orgs","repos_url":"https://api.github.com/users/Brightspace/repos","events_url":"https://api.github.com/users/Brightspace/events{/privacy}","received_events_url":"https://api.github.com/users/Brightspace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Brightspace/intl","description":"JavaScript internationalization APIs for formatting and parsing numbers, dates and times","fork":false,"url":"https://api.github.com/repos/Brightspace/intl","forks_url":"https://api.github.com/repos/Brightspace/intl/forks","keys_url":"https://api.github.com/repos/Brightspace/intl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Brightspace/intl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Brightspace/intl/teams","hooks_url":"https://api.github.com/repos/Brightspace/intl/hooks","issue_events_url":"https://api.github.com/repos/Brightspace/intl/issues/events{/number}","events_url":"https://api.github.com/repos/Brightspace/intl/events","assignees_url":"https://api.github.com/repos/Brightspace/intl/assignees{/user}","branches_url":"https://api.github.com/repos/Brightspace/intl/branches{/branch}","tags_url":"https://api.github.com/repos/Brightspace/intl/tags","blobs_url":"https://api.github.com/repos/Brightspace/intl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Brightspace/intl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Brightspace/intl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Brightspace/intl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Brightspace/intl/statuses/{sha}","languages_url":"https://api.github.com/repos/Brightspace/intl/languages","stargazers_url":"https://api.github.com/repos/Brightspace/intl/stargazers","contributors_url":"https://api.github.com/repos/Brightspace/intl/contributors","subscribers_url":"https://api.github.com/repos/Brightspace/intl/subscribers","subscription_url":"https://api.github.com/repos/Brightspace/intl/subscription","commits_url":"https://api.github.com/repos/Brightspace/intl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Brightspace/intl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Brightspace/intl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Brightspace/intl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Brightspace/intl/contents/{+path}","compare_url":"https://api.github.com/repos/Brightspace/intl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Brightspace/intl/merges","archive_url":"https://api.github.com/repos/Brightspace/intl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Brightspace/intl/downloads","issues_url":"https://api.github.com/repos/Brightspace/intl/issues{/number}","pulls_url":"https://api.github.com/repos/Brightspace/intl/pulls{/number}","milestones_url":"https://api.github.com/repos/Brightspace/intl/milestones{/number}","notifications_url":"https://api.github.com/repos/Brightspace/intl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Brightspace/intl/labels{/name}","releases_url":"https://api.github.com/repos/Brightspace/intl/releases{/id}","created_at":"2015-08-20T20:49:04Z","updated_at":"2015-09-02T16:53:17Z","pushed_at":"2015-10-13T16:48:02Z","git_url":"git://github.com/Brightspace/intl.git","ssh_url":"git@github.com:Brightspace/intl.git","clone_url":"https://github.com/Brightspace/intl.git","svn_url":"https://github.com/Brightspace/intl","homepage":"","size":286,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Brightspace/intl/pulls/1"},"html":{"href":"https://github.com/Brightspace/intl/pull/1"},"issue":{"href":"https://api.github.com/repos/Brightspace/intl/issues/1"},"comments":{"href":"https://api.github.com/repos/Brightspace/intl/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Brightspace/intl/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Brightspace/intl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Brightspace/intl/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Brightspace/intl/statuses/beacde996235b5c3bfa4ee4188433d6669f37c41"}}}}