{"action":"created","comment":{"url":"https://api.github.com/repos/voltrb/docs/pulls/comments/34788338","id":34788338,"diff_hunk":"@@ -1,11 +1,45 @@\n # Lib\n \n-**Note:** This section is still a work in progress.\n+Volt is a client and server framework. Gems exist for both client and server and many gems are not compatible with either client or server environment. This and other reasons (see below) mean that volt does not automatically require all gems at startup.\n+\n+### Gems for client and server\n+\n+Use Gemfile and bundler as always. But as mentioned above, you just have to remember to **require** them and eg. ```config/app.rb``` is a good place.\n+\n+### Client only gems\n+\n+A growing list of gems exist for use in the browser. Off course opal comes to mind, though that may still be run on any javascript vm.\n+\n+Opal-browser or opal-jquery are good examples, just like opal-pixi or opal-phantom, which all use the browser or dom api.","path":"en/docs/lib.md","position":14,"original_position":14,"commit_id":"3ad9f88b17e748de2e32f3a65d8f80b2e1b582dd","original_commit_id":"3ad9f88b17e748de2e32f3a65d8f80b2e1b582dd","user":{"login":"vais","id":77592,"avatar_url":"https://avatars.githubusercontent.com/u/77592?v=3","gravatar_id":"","url":"https://api.github.com/users/vais","html_url":"https://github.com/vais","followers_url":"https://api.github.com/users/vais/followers","following_url":"https://api.github.com/users/vais/following{/other_user}","gists_url":"https://api.github.com/users/vais/gists{/gist_id}","starred_url":"https://api.github.com/users/vais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vais/subscriptions","organizations_url":"https://api.github.com/users/vais/orgs","repos_url":"https://api.github.com/users/vais/repos","events_url":"https://api.github.com/users/vais/events{/privacy}","received_events_url":"https://api.github.com/users/vais/received_events","type":"User","site_admin":false},"body":"Opal-browser ~~or~~ *and* opal-jquery...., ~~which all~~ *all of which* use... ...~~dom api~~ *DOM API*","created_at":"2015-07-16T13:49:53Z","updated_at":"2015-07-16T13:49:53Z","html_url":"https://github.com/voltrb/docs/pull/58#discussion_r34788338","pull_request_url":"https://api.github.com/repos/voltrb/docs/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/voltrb/docs/pulls/comments/34788338"},"html":{"href":"https://github.com/voltrb/docs/pull/58#discussion_r34788338"},"pull_request":{"href":"https://api.github.com/repos/voltrb/docs/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/voltrb/docs/pulls/58","id":40059426,"html_url":"https://github.com/voltrb/docs/pull/58","diff_url":"https://github.com/voltrb/docs/pull/58.diff","patch_url":"https://github.com/voltrb/docs/pull/58.patch","issue_url":"https://api.github.com/repos/voltrb/docs/issues/58","number":58,"state":"open","locked":false,"title":"how to require client/server gems","user":{"login":"dancinglightning","id":142157,"avatar_url":"https://avatars.githubusercontent.com/u/142157?v=3","gravatar_id":"","url":"https://api.github.com/users/dancinglightning","html_url":"https://github.com/dancinglightning","followers_url":"https://api.github.com/users/dancinglightning/followers","following_url":"https://api.github.com/users/dancinglightning/following{/other_user}","gists_url":"https://api.github.com/users/dancinglightning/gists{/gist_id}","starred_url":"https://api.github.com/users/dancinglightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancinglightning/subscriptions","organizations_url":"https://api.github.com/users/dancinglightning/orgs","repos_url":"https://api.github.com/users/dancinglightning/repos","events_url":"https://api.github.com/users/dancinglightning/events{/privacy}","received_events_url":"https://api.github.com/users/dancinglightning/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-15T19:23:02Z","updated_at":"2015-07-16T13:49:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19b8cf48fbde159bd839443b7d6ed01c80f45556","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/voltrb/docs/pulls/58/commits","review_comments_url":"https://api.github.com/repos/voltrb/docs/pulls/58/comments","review_comment_url":"https://api.github.com/repos/voltrb/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/voltrb/docs/issues/58/comments","statuses_url":"https://api.github.com/repos/voltrb/docs/statuses/3ad9f88b17e748de2e32f3a65d8f80b2e1b582dd","head":{"label":"dancinglightning:master","ref":"master","sha":"3ad9f88b17e748de2e32f3a65d8f80b2e1b582dd","user":{"login":"dancinglightning","id":142157,"avatar_url":"https://avatars.githubusercontent.com/u/142157?v=3","gravatar_id":"","url":"https://api.github.com/users/dancinglightning","html_url":"https://github.com/dancinglightning","followers_url":"https://api.github.com/users/dancinglightning/followers","following_url":"https://api.github.com/users/dancinglightning/following{/other_user}","gists_url":"https://api.github.com/users/dancinglightning/gists{/gist_id}","starred_url":"https://api.github.com/users/dancinglightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancinglightning/subscriptions","organizations_url":"https://api.github.com/users/dancinglightning/orgs","repos_url":"https://api.github.com/users/dancinglightning/repos","events_url":"https://api.github.com/users/dancinglightning/events{/privacy}","received_events_url":"https://api.github.com/users/dancinglightning/received_events","type":"User","site_admin":false},"repo":{"id":39148387,"name":"docs","full_name":"dancinglightning/docs","owner":{"login":"dancinglightning","id":142157,"avatar_url":"https://avatars.githubusercontent.com/u/142157?v=3","gravatar_id":"","url":"https://api.github.com/users/dancinglightning","html_url":"https://github.com/dancinglightning","followers_url":"https://api.github.com/users/dancinglightning/followers","following_url":"https://api.github.com/users/dancinglightning/following{/other_user}","gists_url":"https://api.github.com/users/dancinglightning/gists{/gist_id}","starred_url":"https://api.github.com/users/dancinglightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancinglightning/subscriptions","organizations_url":"https://api.github.com/users/dancinglightning/orgs","repos_url":"https://api.github.com/users/dancinglightning/repos","events_url":"https://api.github.com/users/dancinglightning/events{/privacy}","received_events_url":"https://api.github.com/users/dancinglightning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dancinglightning/docs","description":"Documentation and tutorials for Volt - using gitbook","fork":true,"url":"https://api.github.com/repos/dancinglightning/docs","forks_url":"https://api.github.com/repos/dancinglightning/docs/forks","keys_url":"https://api.github.com/repos/dancinglightning/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dancinglightning/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dancinglightning/docs/teams","hooks_url":"https://api.github.com/repos/dancinglightning/docs/hooks","issue_events_url":"https://api.github.com/repos/dancinglightning/docs/issues/events{/number}","events_url":"https://api.github.com/repos/dancinglightning/docs/events","assignees_url":"https://api.github.com/repos/dancinglightning/docs/assignees{/user}","branches_url":"https://api.github.com/repos/dancinglightning/docs/branches{/branch}","tags_url":"https://api.github.com/repos/dancinglightning/docs/tags","blobs_url":"https://api.github.com/repos/dancinglightning/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dancinglightning/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dancinglightning/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/dancinglightning/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dancinglightning/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/dancinglightning/docs/languages","stargazers_url":"https://api.github.com/repos/dancinglightning/docs/stargazers","contributors_url":"https://api.github.com/repos/dancinglightning/docs/contributors","subscribers_url":"https://api.github.com/repos/dancinglightning/docs/subscribers","subscription_url":"https://api.github.com/repos/dancinglightning/docs/subscription","commits_url":"https://api.github.com/repos/dancinglightning/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/dancinglightning/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/dancinglightning/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/dancinglightning/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/dancinglightning/docs/contents/{+path}","compare_url":"https://api.github.com/repos/dancinglightning/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dancinglightning/docs/merges","archive_url":"https://api.github.com/repos/dancinglightning/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dancinglightning/docs/downloads","issues_url":"https://api.github.com/repos/dancinglightning/docs/issues{/number}","pulls_url":"https://api.github.com/repos/dancinglightning/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/dancinglightning/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/dancinglightning/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dancinglightning/docs/labels{/name}","releases_url":"https://api.github.com/repos/dancinglightning/docs/releases{/id}","created_at":"2015-07-15T16:37:47Z","updated_at":"2015-07-08T10:09:09Z","pushed_at":"2015-07-15T19:20:26Z","git_url":"git://github.com/dancinglightning/docs.git","ssh_url":"git@github.com:dancinglightning/docs.git","clone_url":"https://github.com/dancinglightning/docs.git","svn_url":"https://github.com/dancinglightning/docs","homepage":"","size":542,"stargazers_count":0,"watchers_count":0,"language":null,"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":"voltrb:master","ref":"master","sha":"1be84ad405cf59d824f8404e9762403906b2b10a","user":{"login":"voltrb","id":6371286,"avatar_url":"https://avatars.githubusercontent.com/u/6371286?v=3","gravatar_id":"","url":"https://api.github.com/users/voltrb","html_url":"https://github.com/voltrb","followers_url":"https://api.github.com/users/voltrb/followers","following_url":"https://api.github.com/users/voltrb/following{/other_user}","gists_url":"https://api.github.com/users/voltrb/gists{/gist_id}","starred_url":"https://api.github.com/users/voltrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voltrb/subscriptions","organizations_url":"https://api.github.com/users/voltrb/orgs","repos_url":"https://api.github.com/users/voltrb/repos","events_url":"https://api.github.com/users/voltrb/events{/privacy}","received_events_url":"https://api.github.com/users/voltrb/received_events","type":"Organization","site_admin":false},"repo":{"id":25052505,"name":"docs","full_name":"voltrb/docs","owner":{"login":"voltrb","id":6371286,"avatar_url":"https://avatars.githubusercontent.com/u/6371286?v=3","gravatar_id":"","url":"https://api.github.com/users/voltrb","html_url":"https://github.com/voltrb","followers_url":"https://api.github.com/users/voltrb/followers","following_url":"https://api.github.com/users/voltrb/following{/other_user}","gists_url":"https://api.github.com/users/voltrb/gists{/gist_id}","starred_url":"https://api.github.com/users/voltrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voltrb/subscriptions","organizations_url":"https://api.github.com/users/voltrb/orgs","repos_url":"https://api.github.com/users/voltrb/repos","events_url":"https://api.github.com/users/voltrb/events{/privacy}","received_events_url":"https://api.github.com/users/voltrb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/voltrb/docs","description":"Documentation and tutorials for Volt - using gitbook","fork":false,"url":"https://api.github.com/repos/voltrb/docs","forks_url":"https://api.github.com/repos/voltrb/docs/forks","keys_url":"https://api.github.com/repos/voltrb/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/voltrb/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/voltrb/docs/teams","hooks_url":"https://api.github.com/repos/voltrb/docs/hooks","issue_events_url":"https://api.github.com/repos/voltrb/docs/issues/events{/number}","events_url":"https://api.github.com/repos/voltrb/docs/events","assignees_url":"https://api.github.com/repos/voltrb/docs/assignees{/user}","branches_url":"https://api.github.com/repos/voltrb/docs/branches{/branch}","tags_url":"https://api.github.com/repos/voltrb/docs/tags","blobs_url":"https://api.github.com/repos/voltrb/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/voltrb/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/voltrb/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/voltrb/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/voltrb/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/voltrb/docs/languages","stargazers_url":"https://api.github.com/repos/voltrb/docs/stargazers","contributors_url":"https://api.github.com/repos/voltrb/docs/contributors","subscribers_url":"https://api.github.com/repos/voltrb/docs/subscribers","subscription_url":"https://api.github.com/repos/voltrb/docs/subscription","commits_url":"https://api.github.com/repos/voltrb/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/voltrb/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/voltrb/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/voltrb/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/voltrb/docs/contents/{+path}","compare_url":"https://api.github.com/repos/voltrb/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/voltrb/docs/merges","archive_url":"https://api.github.com/repos/voltrb/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/voltrb/docs/downloads","issues_url":"https://api.github.com/repos/voltrb/docs/issues{/number}","pulls_url":"https://api.github.com/repos/voltrb/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/voltrb/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/voltrb/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/voltrb/docs/labels{/name}","releases_url":"https://api.github.com/repos/voltrb/docs/releases{/id}","created_at":"2014-10-10T20:45:50Z","updated_at":"2015-07-08T10:09:09Z","pushed_at":"2015-07-15T19:23:03Z","git_url":"git://github.com/voltrb/docs.git","ssh_url":"git@github.com:voltrb/docs.git","clone_url":"https://github.com/voltrb/docs.git","svn_url":"https://github.com/voltrb/docs","homepage":"","size":1032,"stargazers_count":17,"watchers_count":17,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":8,"forks":35,"open_issues":8,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/voltrb/docs/pulls/58"},"html":{"href":"https://github.com/voltrb/docs/pull/58"},"issue":{"href":"https://api.github.com/repos/voltrb/docs/issues/58"},"comments":{"href":"https://api.github.com/repos/voltrb/docs/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/voltrb/docs/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/voltrb/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/voltrb/docs/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/voltrb/docs/statuses/3ad9f88b17e748de2e32f3a65d8f80b2e1b582dd"}}}}