{"action":"created","comment":{"url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/comments/26078923","id":26078923,"diff_hunk":"@@ -0,0 +1,81 @@\n+(function(root, factory) {\n+  if (typeof define === 'function' && define.amd) {\n+    define(['./Collection',\n+            './events',\n+            './collectionLoadingMixin', './collectionRegistrationMixin',\n+            './pollingMixin',\n+            './validation',\n+            './viewHierarchyMixin',\n+            './Model', './NestedModel', './FormModel',\n+            './Service',\n+            './View', './ListView', './FormView',\n+            './guidManager', './templateRenderer',\n+            './handlebarsUtils', './stickitUtils'],\n+           factory);\n+  } else if (typeof exports === 'object') {\n+    require('./handlebarsUtils');\n+    require('./stickitUtils');\n+    module.exports = factory(require('./Collection'),\n+                             require('./events'),\n+                             require('./collectionLoadingMixin'), require('./collectionRegistrationMixin'),\n+                             require('./pollingMixin'),\n+                             require('./validation'),\n+                             require('./viewHierarchyMixin'),\n+                             require('./Model'), require('./NestedModel'), require('./FormModel'),\n+                             require('./Service'),\n+                             require('./View'), require('./ListView'), require('./FormView'),\n+                             require('./guidManager'), require('./templateRenderer'));\n+  } else {\n+    root.Torso = root.Torso || {};\n+  }\n+}(this, function(Collection,\n+                 events,\n+                 collectionLoadingMixin, collectionRegistrationMixin,\n+                 pollingMixin,\n+                 validation,\n+                 viewHierarchyMixin,\n+                 Model, NestedModel, FormModel,\n+                 Service,\n+                 View, ListView, FormView,\n+                 guidManager, templateRenderer) {\n+\n+  /**\n+   * File containing all dependencies that exports a single object with everything attached (same format as the global).\n+   *\n+   * @module    Torso\n+   * @class     Torso\n+   * @static\n+   * @author    ariel.wexler@vecna.com\n+   */\n+  return {\n+    Collections: {\n+      Collection: Collection\n+    },\n+    events: events,\n+    Mixins: {\n+      collectionLoading: collectionLoadingMixin,\n+      collectionRegistration: collectionRegistrationMixin,\n+      polling: pollingMixin,\n+      validation: validation.mixin,\n+      viewHierarchy: viewHierarchyMixin\n+    },\n+    Models: {","path":"modules/torso.js","position":62,"original_position":62,"commit_id":"fa3afffbbd331e40eeb0c09ab43991e12bf8c88e","original_commit_id":"fa3afffbbd331e40eeb0c09ab43991e12bf8c88e","user":{"login":"kentmw","id":426396,"avatar_url":"https://avatars.githubusercontent.com/u/426396?v=3","gravatar_id":"","url":"https://api.github.com/users/kentmw","html_url":"https://github.com/kentmw","followers_url":"https://api.github.com/users/kentmw/followers","following_url":"https://api.github.com/users/kentmw/following{/other_user}","gists_url":"https://api.github.com/users/kentmw/gists{/gist_id}","starred_url":"https://api.github.com/users/kentmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentmw/subscriptions","organizations_url":"https://api.github.com/users/kentmw/orgs","repos_url":"https://api.github.com/users/kentmw/repos","events_url":"https://api.github.com/users/kentmw/events{/privacy}","received_events_url":"https://api.github.com/users/kentmw/received_events","type":"User","site_admin":false},"body":"this matches what is generated when requiring all the modules globally, correct?\r\nNot a big fan of Torso.Models.Model, but we can think about that later.","created_at":"2015-03-09T21:34:20Z","updated_at":"2015-03-09T21:34:20Z","html_url":"https://github.com/vecnatechnologies/backbone-torso/pull/9#discussion_r26078923","pull_request_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/comments/26078923"},"html":{"href":"https://github.com/vecnatechnologies/backbone-torso/pull/9#discussion_r26078923"},"pull_request":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9","id":30795382,"html_url":"https://github.com/vecnatechnologies/backbone-torso/pull/9","diff_url":"https://github.com/vecnatechnologies/backbone-torso/pull/9.diff","patch_url":"https://github.com/vecnatechnologies/backbone-torso/pull/9.patch","issue_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues/9","number":9,"state":"open","locked":false,"title":"Cleaned up script locations (/modules) and gulp configurations.","user":{"login":"mandragorn","id":807561,"avatar_url":"https://avatars.githubusercontent.com/u/807561?v=3","gravatar_id":"","url":"https://api.github.com/users/mandragorn","html_url":"https://github.com/mandragorn","followers_url":"https://api.github.com/users/mandragorn/followers","following_url":"https://api.github.com/users/mandragorn/following{/other_user}","gists_url":"https://api.github.com/users/mandragorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mandragorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandragorn/subscriptions","organizations_url":"https://api.github.com/users/mandragorn/orgs","repos_url":"https://api.github.com/users/mandragorn/repos","events_url":"https://api.github.com/users/mandragorn/events{/privacy}","received_events_url":"https://api.github.com/users/mandragorn/received_events","type":"User","site_admin":false},"body":"moved code into flat modules directory for easy import of parts into other projects.\r\nSimplified and streamlined gulp build\r\nFor gulp watch and gulp tests:watch to work gulp-jasmine needs to be updated with these changes: https://github.com/sindresorhus/gulp-jasmine/pull/43","created_at":"2015-03-09T20:13:55Z","updated_at":"2015-03-09T21:34:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa62be10d4ea522c17323c2e9af067846f7e1f7f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9/commits","review_comments_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9/comments","review_comment_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues/9/comments","statuses_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/statuses/fa3afffbbd331e40eeb0c09ab43991e12bf8c88e","head":{"label":"mandragorn:modules","ref":"modules","sha":"fa3afffbbd331e40eeb0c09ab43991e12bf8c88e","user":{"login":"mandragorn","id":807561,"avatar_url":"https://avatars.githubusercontent.com/u/807561?v=3","gravatar_id":"","url":"https://api.github.com/users/mandragorn","html_url":"https://github.com/mandragorn","followers_url":"https://api.github.com/users/mandragorn/followers","following_url":"https://api.github.com/users/mandragorn/following{/other_user}","gists_url":"https://api.github.com/users/mandragorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mandragorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandragorn/subscriptions","organizations_url":"https://api.github.com/users/mandragorn/orgs","repos_url":"https://api.github.com/users/mandragorn/repos","events_url":"https://api.github.com/users/mandragorn/events{/privacy}","received_events_url":"https://api.github.com/users/mandragorn/received_events","type":"User","site_admin":false},"repo":{"id":31402828,"name":"backbone-torso","full_name":"mandragorn/backbone-torso","owner":{"login":"mandragorn","id":807561,"avatar_url":"https://avatars.githubusercontent.com/u/807561?v=3","gravatar_id":"","url":"https://api.github.com/users/mandragorn","html_url":"https://github.com/mandragorn","followers_url":"https://api.github.com/users/mandragorn/followers","following_url":"https://api.github.com/users/mandragorn/following{/other_user}","gists_url":"https://api.github.com/users/mandragorn/gists{/gist_id}","starred_url":"https://api.github.com/users/mandragorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandragorn/subscriptions","organizations_url":"https://api.github.com/users/mandragorn/orgs","repos_url":"https://api.github.com/users/mandragorn/repos","events_url":"https://api.github.com/users/mandragorn/events{/privacy}","received_events_url":"https://api.github.com/users/mandragorn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mandragorn/backbone-torso","description":"A holistic approach to Backbone applications","fork":true,"url":"https://api.github.com/repos/mandragorn/backbone-torso","forks_url":"https://api.github.com/repos/mandragorn/backbone-torso/forks","keys_url":"https://api.github.com/repos/mandragorn/backbone-torso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mandragorn/backbone-torso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mandragorn/backbone-torso/teams","hooks_url":"https://api.github.com/repos/mandragorn/backbone-torso/hooks","issue_events_url":"https://api.github.com/repos/mandragorn/backbone-torso/issues/events{/number}","events_url":"https://api.github.com/repos/mandragorn/backbone-torso/events","assignees_url":"https://api.github.com/repos/mandragorn/backbone-torso/assignees{/user}","branches_url":"https://api.github.com/repos/mandragorn/backbone-torso/branches{/branch}","tags_url":"https://api.github.com/repos/mandragorn/backbone-torso/tags","blobs_url":"https://api.github.com/repos/mandragorn/backbone-torso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mandragorn/backbone-torso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mandragorn/backbone-torso/git/refs{/sha}","trees_url":"https://api.github.com/repos/mandragorn/backbone-torso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mandragorn/backbone-torso/statuses/{sha}","languages_url":"https://api.github.com/repos/mandragorn/backbone-torso/languages","stargazers_url":"https://api.github.com/repos/mandragorn/backbone-torso/stargazers","contributors_url":"https://api.github.com/repos/mandragorn/backbone-torso/contributors","subscribers_url":"https://api.github.com/repos/mandragorn/backbone-torso/subscribers","subscription_url":"https://api.github.com/repos/mandragorn/backbone-torso/subscription","commits_url":"https://api.github.com/repos/mandragorn/backbone-torso/commits{/sha}","git_commits_url":"https://api.github.com/repos/mandragorn/backbone-torso/git/commits{/sha}","comments_url":"https://api.github.com/repos/mandragorn/backbone-torso/comments{/number}","issue_comment_url":"https://api.github.com/repos/mandragorn/backbone-torso/issues/comments{/number}","contents_url":"https://api.github.com/repos/mandragorn/backbone-torso/contents/{+path}","compare_url":"https://api.github.com/repos/mandragorn/backbone-torso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mandragorn/backbone-torso/merges","archive_url":"https://api.github.com/repos/mandragorn/backbone-torso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mandragorn/backbone-torso/downloads","issues_url":"https://api.github.com/repos/mandragorn/backbone-torso/issues{/number}","pulls_url":"https://api.github.com/repos/mandragorn/backbone-torso/pulls{/number}","milestones_url":"https://api.github.com/repos/mandragorn/backbone-torso/milestones{/number}","notifications_url":"https://api.github.com/repos/mandragorn/backbone-torso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mandragorn/backbone-torso/labels{/name}","releases_url":"https://api.github.com/repos/mandragorn/backbone-torso/releases{/id}","created_at":"2015-02-27T04:04:36Z","updated_at":"2015-03-09T20:17:16Z","pushed_at":"2015-03-09T21:00:43Z","git_url":"git://github.com/mandragorn/backbone-torso.git","ssh_url":"git@github.com:mandragorn/backbone-torso.git","clone_url":"https://github.com/mandragorn/backbone-torso.git","svn_url":"https://github.com/mandragorn/backbone-torso","homepage":"http://vecnatechnologies.github.io/backbone-torso","size":356,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"vecnatechnologies:master","ref":"master","sha":"5154dd471c328b5c1a2bc52259e35821791e4a48","user":{"login":"vecnatechnologies","id":781589,"avatar_url":"https://avatars.githubusercontent.com/u/781589?v=3","gravatar_id":"","url":"https://api.github.com/users/vecnatechnologies","html_url":"https://github.com/vecnatechnologies","followers_url":"https://api.github.com/users/vecnatechnologies/followers","following_url":"https://api.github.com/users/vecnatechnologies/following{/other_user}","gists_url":"https://api.github.com/users/vecnatechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/vecnatechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vecnatechnologies/subscriptions","organizations_url":"https://api.github.com/users/vecnatechnologies/orgs","repos_url":"https://api.github.com/users/vecnatechnologies/repos","events_url":"https://api.github.com/users/vecnatechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/vecnatechnologies/received_events","type":"Organization","site_admin":false},"repo":{"id":30879913,"name":"backbone-torso","full_name":"vecnatechnologies/backbone-torso","owner":{"login":"vecnatechnologies","id":781589,"avatar_url":"https://avatars.githubusercontent.com/u/781589?v=3","gravatar_id":"","url":"https://api.github.com/users/vecnatechnologies","html_url":"https://github.com/vecnatechnologies","followers_url":"https://api.github.com/users/vecnatechnologies/followers","following_url":"https://api.github.com/users/vecnatechnologies/following{/other_user}","gists_url":"https://api.github.com/users/vecnatechnologies/gists{/gist_id}","starred_url":"https://api.github.com/users/vecnatechnologies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vecnatechnologies/subscriptions","organizations_url":"https://api.github.com/users/vecnatechnologies/orgs","repos_url":"https://api.github.com/users/vecnatechnologies/repos","events_url":"https://api.github.com/users/vecnatechnologies/events{/privacy}","received_events_url":"https://api.github.com/users/vecnatechnologies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vecnatechnologies/backbone-torso","description":"A holistic approach to Backbone applications","fork":false,"url":"https://api.github.com/repos/vecnatechnologies/backbone-torso","forks_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/forks","keys_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/teams","hooks_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/hooks","issue_events_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues/events{/number}","events_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/events","assignees_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/assignees{/user}","branches_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/branches{/branch}","tags_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/tags","blobs_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/git/refs{/sha}","trees_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/statuses/{sha}","languages_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/languages","stargazers_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/stargazers","contributors_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/contributors","subscribers_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/subscribers","subscription_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/subscription","commits_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/commits{/sha}","git_commits_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/git/commits{/sha}","comments_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/comments{/number}","issue_comment_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues/comments{/number}","contents_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/contents/{+path}","compare_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/merges","archive_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/downloads","issues_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues{/number}","pulls_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls{/number}","milestones_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/milestones{/number}","notifications_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/labels{/name}","releases_url":"https://api.github.com/repos/vecnatechnologies/backbone-torso/releases{/id}","created_at":"2015-02-16T17:40:34Z","updated_at":"2015-03-04T22:12:21Z","pushed_at":"2015-03-06T22:44:14Z","git_url":"git://github.com/vecnatechnologies/backbone-torso.git","ssh_url":"git@github.com:vecnatechnologies/backbone-torso.git","clone_url":"https://github.com/vecnatechnologies/backbone-torso.git","svn_url":"https://github.com/vecnatechnologies/backbone-torso","homepage":"http://vecnatechnologies.github.io/backbone-torso","size":1266,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9"},"html":{"href":"https://github.com/vecnatechnologies/backbone-torso/pull/9"},"issue":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues/9"},"comments":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/vecnatechnologies/backbone-torso/statuses/fa3afffbbd331e40eeb0c09ab43991e12bf8c88e"}}}}