{"action":"created","comment":{"url":"https://api.github.com/repos/connectsolutions/best-practices/pulls/comments/23734338","id":23734338,"diff_hunk":"@@ -0,0 +1,45 @@\n+define(function (require) {\n+\n+    'use strict';\n+\n+    var Backbone          = require('backbone');\n+\n+    var ExampleCollection = require('mymodule/collections/example');\n+\n+    var NavView           = require('mymodule/views/nav');\n+    var ExampleView       = require('mymodule/views/example');\n+\n+    return Backbone.Router.extend({\n+\n+        routes: {\n+            'mymodule': 'showExampleView'\n+        },\n+\n+        /**\n+        * Peforms initialization operations for the router.\n+        */\n+        initialize: function() {\n+            this.exampleCollection = new ExampleCollection();\n+        },\n+\n+        /**\n+        * Sets up the navigation area display for usage.\n+        */\n+        showNav: function() {\n+            var nav = new NavView();\n+            csx.navContainer.setView(nav);","path":"js/examples/backbone/app/mymodule/js/router.js","position":30,"original_position":30,"commit_id":"e55c4da930226003cb232c681147d2c21b42ae9a","original_commit_id":"e55c4da930226003cb232c681147d2c21b42ae9a","user":{"login":"andrew-cs","id":5702904,"avatar_url":"https://avatars.githubusercontent.com/u/5702904?v=3","gravatar_id":"","url":"https://api.github.com/users/andrew-cs","html_url":"https://github.com/andrew-cs","followers_url":"https://api.github.com/users/andrew-cs/followers","following_url":"https://api.github.com/users/andrew-cs/following{/other_user}","gists_url":"https://api.github.com/users/andrew-cs/gists{/gist_id}","starred_url":"https://api.github.com/users/andrew-cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrew-cs/subscriptions","organizations_url":"https://api.github.com/users/andrew-cs/orgs","repos_url":"https://api.github.com/users/andrew-cs/repos","events_url":"https://api.github.com/users/andrew-cs/events{/privacy}","received_events_url":"https://api.github.com/users/andrew-cs/received_events","type":"User","site_admin":false},"body":"csx the global js variable is being removed, correct? Is this here as a placeholder / reminder?","created_at":"2015-01-28T23:28:52Z","updated_at":"2015-01-28T23:28:52Z","html_url":"https://github.com/connectsolutions/best-practices/pull/3#discussion_r23734338","pull_request_url":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/connectsolutions/best-practices/pulls/comments/23734338"},"html":{"href":"https://github.com/connectsolutions/best-practices/pull/3#discussion_r23734338"},"pull_request":{"href":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3","id":28225786,"html_url":"https://github.com/connectsolutions/best-practices/pull/3","diff_url":"https://github.com/connectsolutions/best-practices/pull/3.diff","patch_url":"https://github.com/connectsolutions/best-practices/pull/3.patch","issue_url":"https://api.github.com/repos/connectsolutions/best-practices/issues/3","number":3,"state":"open","locked":false,"title":"Backbone Module Structure","user":{"login":"jacobcs","id":5693649,"avatar_url":"https://avatars.githubusercontent.com/u/5693649?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobcs","html_url":"https://github.com/jacobcs","followers_url":"https://api.github.com/users/jacobcs/followers","following_url":"https://api.github.com/users/jacobcs/following{/other_user}","gists_url":"https://api.github.com/users/jacobcs/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobcs/subscriptions","organizations_url":"https://api.github.com/users/jacobcs/orgs","repos_url":"https://api.github.com/users/jacobcs/repos","events_url":"https://api.github.com/users/jacobcs/events{/privacy}","received_events_url":"https://api.github.com/users/jacobcs/received_events","type":"User","site_admin":false},"body":"An example backbone module structure for work in https://nexus.connectsolutions.com/display/PROJ/Backbone+module+structure","created_at":"2015-01-28T20:18:04Z","updated_at":"2015-01-28T23:28:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"36a17b95f1ab9ac850cf8d15cd5c2a25bc1193c3","assignee":{"login":"jacobcs","id":5693649,"avatar_url":"https://avatars.githubusercontent.com/u/5693649?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobcs","html_url":"https://github.com/jacobcs","followers_url":"https://api.github.com/users/jacobcs/followers","following_url":"https://api.github.com/users/jacobcs/following{/other_user}","gists_url":"https://api.github.com/users/jacobcs/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobcs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobcs/subscriptions","organizations_url":"https://api.github.com/users/jacobcs/orgs","repos_url":"https://api.github.com/users/jacobcs/repos","events_url":"https://api.github.com/users/jacobcs/events{/privacy}","received_events_url":"https://api.github.com/users/jacobcs/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3/commits","review_comments_url":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3/comments","review_comment_url":"https://api.github.com/repos/connectsolutions/best-practices/pulls/comments/{number}","comments_url":"https://api.github.com/repos/connectsolutions/best-practices/issues/3/comments","statuses_url":"https://api.github.com/repos/connectsolutions/best-practices/statuses/e55c4da930226003cb232c681147d2c21b42ae9a","head":{"label":"connectsolutions:backbone_example","ref":"backbone_example","sha":"e55c4da930226003cb232c681147d2c21b42ae9a","user":{"login":"connectsolutions","id":1165267,"avatar_url":"https://avatars.githubusercontent.com/u/1165267?v=3","gravatar_id":"","url":"https://api.github.com/users/connectsolutions","html_url":"https://github.com/connectsolutions","followers_url":"https://api.github.com/users/connectsolutions/followers","following_url":"https://api.github.com/users/connectsolutions/following{/other_user}","gists_url":"https://api.github.com/users/connectsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/connectsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connectsolutions/subscriptions","organizations_url":"https://api.github.com/users/connectsolutions/orgs","repos_url":"https://api.github.com/users/connectsolutions/repos","events_url":"https://api.github.com/users/connectsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/connectsolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":15087143,"name":"best-practices","full_name":"connectsolutions/best-practices","owner":{"login":"connectsolutions","id":1165267,"avatar_url":"https://avatars.githubusercontent.com/u/1165267?v=3","gravatar_id":"","url":"https://api.github.com/users/connectsolutions","html_url":"https://github.com/connectsolutions","followers_url":"https://api.github.com/users/connectsolutions/followers","following_url":"https://api.github.com/users/connectsolutions/following{/other_user}","gists_url":"https://api.github.com/users/connectsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/connectsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connectsolutions/subscriptions","organizations_url":"https://api.github.com/users/connectsolutions/orgs","repos_url":"https://api.github.com/users/connectsolutions/repos","events_url":"https://api.github.com/users/connectsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/connectsolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/connectsolutions/best-practices","description":"Repository to collect best practices and coding standards for all the languages we work with.","fork":false,"url":"https://api.github.com/repos/connectsolutions/best-practices","forks_url":"https://api.github.com/repos/connectsolutions/best-practices/forks","keys_url":"https://api.github.com/repos/connectsolutions/best-practices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/connectsolutions/best-practices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/connectsolutions/best-practices/teams","hooks_url":"https://api.github.com/repos/connectsolutions/best-practices/hooks","issue_events_url":"https://api.github.com/repos/connectsolutions/best-practices/issues/events{/number}","events_url":"https://api.github.com/repos/connectsolutions/best-practices/events","assignees_url":"https://api.github.com/repos/connectsolutions/best-practices/assignees{/user}","branches_url":"https://api.github.com/repos/connectsolutions/best-practices/branches{/branch}","tags_url":"https://api.github.com/repos/connectsolutions/best-practices/tags","blobs_url":"https://api.github.com/repos/connectsolutions/best-practices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/connectsolutions/best-practices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/connectsolutions/best-practices/git/refs{/sha}","trees_url":"https://api.github.com/repos/connectsolutions/best-practices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/connectsolutions/best-practices/statuses/{sha}","languages_url":"https://api.github.com/repos/connectsolutions/best-practices/languages","stargazers_url":"https://api.github.com/repos/connectsolutions/best-practices/stargazers","contributors_url":"https://api.github.com/repos/connectsolutions/best-practices/contributors","subscribers_url":"https://api.github.com/repos/connectsolutions/best-practices/subscribers","subscription_url":"https://api.github.com/repos/connectsolutions/best-practices/subscription","commits_url":"https://api.github.com/repos/connectsolutions/best-practices/commits{/sha}","git_commits_url":"https://api.github.com/repos/connectsolutions/best-practices/git/commits{/sha}","comments_url":"https://api.github.com/repos/connectsolutions/best-practices/comments{/number}","issue_comment_url":"https://api.github.com/repos/connectsolutions/best-practices/issues/comments/{number}","contents_url":"https://api.github.com/repos/connectsolutions/best-practices/contents/{+path}","compare_url":"https://api.github.com/repos/connectsolutions/best-practices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/connectsolutions/best-practices/merges","archive_url":"https://api.github.com/repos/connectsolutions/best-practices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/connectsolutions/best-practices/downloads","issues_url":"https://api.github.com/repos/connectsolutions/best-practices/issues{/number}","pulls_url":"https://api.github.com/repos/connectsolutions/best-practices/pulls{/number}","milestones_url":"https://api.github.com/repos/connectsolutions/best-practices/milestones{/number}","notifications_url":"https://api.github.com/repos/connectsolutions/best-practices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/connectsolutions/best-practices/labels{/name}","releases_url":"https://api.github.com/repos/connectsolutions/best-practices/releases{/id}","created_at":"2013-12-10T19:34:04Z","updated_at":"2015-01-22T20:02:02Z","pushed_at":"2015-01-28T22:28:56Z","git_url":"git://github.com/connectsolutions/best-practices.git","ssh_url":"git@github.com:connectsolutions/best-practices.git","clone_url":"https://github.com/connectsolutions/best-practices.git","svn_url":"https://github.com/connectsolutions/best-practices","homepage":null,"size":460,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"connectsolutions:master","ref":"master","sha":"966ed852aa4272ef9d1f4729ef814cc0730661d2","user":{"login":"connectsolutions","id":1165267,"avatar_url":"https://avatars.githubusercontent.com/u/1165267?v=3","gravatar_id":"","url":"https://api.github.com/users/connectsolutions","html_url":"https://github.com/connectsolutions","followers_url":"https://api.github.com/users/connectsolutions/followers","following_url":"https://api.github.com/users/connectsolutions/following{/other_user}","gists_url":"https://api.github.com/users/connectsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/connectsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connectsolutions/subscriptions","organizations_url":"https://api.github.com/users/connectsolutions/orgs","repos_url":"https://api.github.com/users/connectsolutions/repos","events_url":"https://api.github.com/users/connectsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/connectsolutions/received_events","type":"Organization","site_admin":false},"repo":{"id":15087143,"name":"best-practices","full_name":"connectsolutions/best-practices","owner":{"login":"connectsolutions","id":1165267,"avatar_url":"https://avatars.githubusercontent.com/u/1165267?v=3","gravatar_id":"","url":"https://api.github.com/users/connectsolutions","html_url":"https://github.com/connectsolutions","followers_url":"https://api.github.com/users/connectsolutions/followers","following_url":"https://api.github.com/users/connectsolutions/following{/other_user}","gists_url":"https://api.github.com/users/connectsolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/connectsolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connectsolutions/subscriptions","organizations_url":"https://api.github.com/users/connectsolutions/orgs","repos_url":"https://api.github.com/users/connectsolutions/repos","events_url":"https://api.github.com/users/connectsolutions/events{/privacy}","received_events_url":"https://api.github.com/users/connectsolutions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/connectsolutions/best-practices","description":"Repository to collect best practices and coding standards for all the languages we work with.","fork":false,"url":"https://api.github.com/repos/connectsolutions/best-practices","forks_url":"https://api.github.com/repos/connectsolutions/best-practices/forks","keys_url":"https://api.github.com/repos/connectsolutions/best-practices/keys{/key_id}","collaborators_url":"https://api.github.com/repos/connectsolutions/best-practices/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/connectsolutions/best-practices/teams","hooks_url":"https://api.github.com/repos/connectsolutions/best-practices/hooks","issue_events_url":"https://api.github.com/repos/connectsolutions/best-practices/issues/events{/number}","events_url":"https://api.github.com/repos/connectsolutions/best-practices/events","assignees_url":"https://api.github.com/repos/connectsolutions/best-practices/assignees{/user}","branches_url":"https://api.github.com/repos/connectsolutions/best-practices/branches{/branch}","tags_url":"https://api.github.com/repos/connectsolutions/best-practices/tags","blobs_url":"https://api.github.com/repos/connectsolutions/best-practices/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/connectsolutions/best-practices/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/connectsolutions/best-practices/git/refs{/sha}","trees_url":"https://api.github.com/repos/connectsolutions/best-practices/git/trees{/sha}","statuses_url":"https://api.github.com/repos/connectsolutions/best-practices/statuses/{sha}","languages_url":"https://api.github.com/repos/connectsolutions/best-practices/languages","stargazers_url":"https://api.github.com/repos/connectsolutions/best-practices/stargazers","contributors_url":"https://api.github.com/repos/connectsolutions/best-practices/contributors","subscribers_url":"https://api.github.com/repos/connectsolutions/best-practices/subscribers","subscription_url":"https://api.github.com/repos/connectsolutions/best-practices/subscription","commits_url":"https://api.github.com/repos/connectsolutions/best-practices/commits{/sha}","git_commits_url":"https://api.github.com/repos/connectsolutions/best-practices/git/commits{/sha}","comments_url":"https://api.github.com/repos/connectsolutions/best-practices/comments{/number}","issue_comment_url":"https://api.github.com/repos/connectsolutions/best-practices/issues/comments/{number}","contents_url":"https://api.github.com/repos/connectsolutions/best-practices/contents/{+path}","compare_url":"https://api.github.com/repos/connectsolutions/best-practices/compare/{base}...{head}","merges_url":"https://api.github.com/repos/connectsolutions/best-practices/merges","archive_url":"https://api.github.com/repos/connectsolutions/best-practices/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/connectsolutions/best-practices/downloads","issues_url":"https://api.github.com/repos/connectsolutions/best-practices/issues{/number}","pulls_url":"https://api.github.com/repos/connectsolutions/best-practices/pulls{/number}","milestones_url":"https://api.github.com/repos/connectsolutions/best-practices/milestones{/number}","notifications_url":"https://api.github.com/repos/connectsolutions/best-practices/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/connectsolutions/best-practices/labels{/name}","releases_url":"https://api.github.com/repos/connectsolutions/best-practices/releases{/id}","created_at":"2013-12-10T19:34:04Z","updated_at":"2015-01-22T20:02:02Z","pushed_at":"2015-01-28T22:28:56Z","git_url":"git://github.com/connectsolutions/best-practices.git","ssh_url":"git@github.com:connectsolutions/best-practices.git","clone_url":"https://github.com/connectsolutions/best-practices.git","svn_url":"https://github.com/connectsolutions/best-practices","homepage":null,"size":460,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3"},"html":{"href":"https://github.com/connectsolutions/best-practices/pull/3"},"issue":{"href":"https://api.github.com/repos/connectsolutions/best-practices/issues/3"},"comments":{"href":"https://api.github.com/repos/connectsolutions/best-practices/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/connectsolutions/best-practices/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/connectsolutions/best-practices/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/connectsolutions/best-practices/statuses/e55c4da930226003cb232c681147d2c21b42ae9a"}}}}