{"action":"created","comment":{"url":"https://api.github.com/repos/ericelliott/stampit/pulls/comments/31384340","id":31384340,"diff_hunk":"@@ -0,0 +1,57 @@\n+'use strict';\n+var stampit = require('../stampit'),\n+  test = require('tape');\n+\n+// Main API\n+\n+test('stampit()', function (t) {\n+  t.equal(typeof stampit(), 'function', 'Should produce a function.');\n+\n+  t.end();\n+});\n+\n+test('stampit({})', function (t) {\n+  t.ok(stampit.isStamp(stampit({})));\n+\n+  t.end();\n+});\n+\n+test('incorrect stampit({ methods }) args', function (t) {","path":"test/stampit-api.js","position":19,"original_position":19,"commit_id":"3eda925fd7ad493b2c359549375aceddded1eecb","original_commit_id":"3eda925fd7ad493b2c359549375aceddded1eecb","user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"body":"Good thinking. Just to clarify, these all result in stamps with no methods, right?","created_at":"2015-05-30T20:47:35Z","updated_at":"2015-05-30T20:47:35Z","html_url":"https://github.com/ericelliott/stampit/pull/84#discussion_r31384340","pull_request_url":"https://api.github.com/repos/ericelliott/stampit/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/ericelliott/stampit/pulls/comments/31384340"},"html":{"href":"https://github.com/ericelliott/stampit/pull/84#discussion_r31384340"},"pull_request":{"href":"https://api.github.com/repos/ericelliott/stampit/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/ericelliott/stampit/pulls/84","id":36563592,"html_url":"https://github.com/ericelliott/stampit/pull/84","diff_url":"https://github.com/ericelliott/stampit/pull/84.diff","patch_url":"https://github.com/ericelliott/stampit/pull/84.patch","issue_url":"https://api.github.com/repos/ericelliott/stampit/issues/84","number":84,"state":"open","locked":false,"title":"stampit({options}) api","user":{"login":"koresar","id":1622575,"avatar_url":"https://avatars.githubusercontent.com/u/1622575?v=3","gravatar_id":"","url":"https://api.github.com/users/koresar","html_url":"https://github.com/koresar","followers_url":"https://api.github.com/users/koresar/followers","following_url":"https://api.github.com/users/koresar/following{/other_user}","gists_url":"https://api.github.com/users/koresar/gists{/gist_id}","starred_url":"https://api.github.com/users/koresar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koresar/subscriptions","organizations_url":"https://api.github.com/users/koresar/orgs","repos_url":"https://api.github.com/users/koresar/repos","events_url":"https://api.github.com/users/koresar/events{/privacy}","received_events_url":"https://api.github.com/users/koresar/received_events","type":"User","site_admin":false},"body":"Please, review. List of changes:\r\n* New `stampit( options )` API.\r\n* Convenience shortcut methods, like `stampit.methods()`, etc. See #41.\r\n* Reorganized tests a bit for more convenience.\r\n* Drop IE8 support.\r\n* `/dist/` is now not committed to the repo but build only on the `prepublish` NPM hook.\r\n* Excluded `/test/`, travis, jshist, SauceLabs, etc. development files from NPM package via `.npmignore`.","created_at":"2015-05-30T10:26:55Z","updated_at":"2015-05-30T20:47:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0d9dc19891e689cffab5175fa3715ba16585860","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ericelliott/stampit/pulls/84/commits","review_comments_url":"https://api.github.com/repos/ericelliott/stampit/pulls/84/comments","review_comment_url":"https://api.github.com/repos/ericelliott/stampit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ericelliott/stampit/issues/84/comments","statuses_url":"https://api.github.com/repos/ericelliott/stampit/statuses/3eda925fd7ad493b2c359549375aceddded1eecb","head":{"label":"ericelliott:options-API","ref":"options-API","sha":"3eda925fd7ad493b2c359549375aceddded1eecb","user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"repo":{"id":8124664,"name":"stampit","full_name":"ericelliott/stampit","owner":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericelliott/stampit","description":"OOP is better with stamps: Composable object factories.","fork":false,"url":"https://api.github.com/repos/ericelliott/stampit","forks_url":"https://api.github.com/repos/ericelliott/stampit/forks","keys_url":"https://api.github.com/repos/ericelliott/stampit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericelliott/stampit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericelliott/stampit/teams","hooks_url":"https://api.github.com/repos/ericelliott/stampit/hooks","issue_events_url":"https://api.github.com/repos/ericelliott/stampit/issues/events{/number}","events_url":"https://api.github.com/repos/ericelliott/stampit/events","assignees_url":"https://api.github.com/repos/ericelliott/stampit/assignees{/user}","branches_url":"https://api.github.com/repos/ericelliott/stampit/branches{/branch}","tags_url":"https://api.github.com/repos/ericelliott/stampit/tags","blobs_url":"https://api.github.com/repos/ericelliott/stampit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericelliott/stampit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericelliott/stampit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericelliott/stampit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericelliott/stampit/statuses/{sha}","languages_url":"https://api.github.com/repos/ericelliott/stampit/languages","stargazers_url":"https://api.github.com/repos/ericelliott/stampit/stargazers","contributors_url":"https://api.github.com/repos/ericelliott/stampit/contributors","subscribers_url":"https://api.github.com/repos/ericelliott/stampit/subscribers","subscription_url":"https://api.github.com/repos/ericelliott/stampit/subscription","commits_url":"https://api.github.com/repos/ericelliott/stampit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericelliott/stampit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericelliott/stampit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericelliott/stampit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericelliott/stampit/contents/{+path}","compare_url":"https://api.github.com/repos/ericelliott/stampit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericelliott/stampit/merges","archive_url":"https://api.github.com/repos/ericelliott/stampit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericelliott/stampit/downloads","issues_url":"https://api.github.com/repos/ericelliott/stampit/issues{/number}","pulls_url":"https://api.github.com/repos/ericelliott/stampit/pulls{/number}","milestones_url":"https://api.github.com/repos/ericelliott/stampit/milestones{/number}","notifications_url":"https://api.github.com/repos/ericelliott/stampit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericelliott/stampit/labels{/name}","releases_url":"https://api.github.com/repos/ericelliott/stampit/releases{/id}","created_at":"2013-02-10T16:20:49Z","updated_at":"2015-05-30T17:07:59Z","pushed_at":"2015-05-30T10:32:03Z","git_url":"git://github.com/ericelliott/stampit.git","ssh_url":"git@github.com:ericelliott/stampit.git","clone_url":"https://github.com/ericelliott/stampit.git","svn_url":"https://github.com/ericelliott/stampit","homepage":"http://pjabook.com","size":1244,"stargazers_count":901,"watchers_count":901,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":15,"forks":47,"open_issues":15,"watchers":901,"default_branch":"master"}},"base":{"label":"ericelliott:v2_0","ref":"v2_0","sha":"c51af7aad1435955f6761bc98ef734fc0c9cfb73","user":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"repo":{"id":8124664,"name":"stampit","full_name":"ericelliott/stampit","owner":{"login":"ericelliott","id":364727,"avatar_url":"https://avatars.githubusercontent.com/u/364727?v=3","gravatar_id":"","url":"https://api.github.com/users/ericelliott","html_url":"https://github.com/ericelliott","followers_url":"https://api.github.com/users/ericelliott/followers","following_url":"https://api.github.com/users/ericelliott/following{/other_user}","gists_url":"https://api.github.com/users/ericelliott/gists{/gist_id}","starred_url":"https://api.github.com/users/ericelliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericelliott/subscriptions","organizations_url":"https://api.github.com/users/ericelliott/orgs","repos_url":"https://api.github.com/users/ericelliott/repos","events_url":"https://api.github.com/users/ericelliott/events{/privacy}","received_events_url":"https://api.github.com/users/ericelliott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericelliott/stampit","description":"OOP is better with stamps: Composable object factories.","fork":false,"url":"https://api.github.com/repos/ericelliott/stampit","forks_url":"https://api.github.com/repos/ericelliott/stampit/forks","keys_url":"https://api.github.com/repos/ericelliott/stampit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericelliott/stampit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericelliott/stampit/teams","hooks_url":"https://api.github.com/repos/ericelliott/stampit/hooks","issue_events_url":"https://api.github.com/repos/ericelliott/stampit/issues/events{/number}","events_url":"https://api.github.com/repos/ericelliott/stampit/events","assignees_url":"https://api.github.com/repos/ericelliott/stampit/assignees{/user}","branches_url":"https://api.github.com/repos/ericelliott/stampit/branches{/branch}","tags_url":"https://api.github.com/repos/ericelliott/stampit/tags","blobs_url":"https://api.github.com/repos/ericelliott/stampit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericelliott/stampit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericelliott/stampit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericelliott/stampit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericelliott/stampit/statuses/{sha}","languages_url":"https://api.github.com/repos/ericelliott/stampit/languages","stargazers_url":"https://api.github.com/repos/ericelliott/stampit/stargazers","contributors_url":"https://api.github.com/repos/ericelliott/stampit/contributors","subscribers_url":"https://api.github.com/repos/ericelliott/stampit/subscribers","subscription_url":"https://api.github.com/repos/ericelliott/stampit/subscription","commits_url":"https://api.github.com/repos/ericelliott/stampit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericelliott/stampit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericelliott/stampit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericelliott/stampit/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericelliott/stampit/contents/{+path}","compare_url":"https://api.github.com/repos/ericelliott/stampit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericelliott/stampit/merges","archive_url":"https://api.github.com/repos/ericelliott/stampit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericelliott/stampit/downloads","issues_url":"https://api.github.com/repos/ericelliott/stampit/issues{/number}","pulls_url":"https://api.github.com/repos/ericelliott/stampit/pulls{/number}","milestones_url":"https://api.github.com/repos/ericelliott/stampit/milestones{/number}","notifications_url":"https://api.github.com/repos/ericelliott/stampit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericelliott/stampit/labels{/name}","releases_url":"https://api.github.com/repos/ericelliott/stampit/releases{/id}","created_at":"2013-02-10T16:20:49Z","updated_at":"2015-05-30T17:07:59Z","pushed_at":"2015-05-30T10:32:03Z","git_url":"git://github.com/ericelliott/stampit.git","ssh_url":"git@github.com:ericelliott/stampit.git","clone_url":"https://github.com/ericelliott/stampit.git","svn_url":"https://github.com/ericelliott/stampit","homepage":"http://pjabook.com","size":1244,"stargazers_count":901,"watchers_count":901,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":15,"forks":47,"open_issues":15,"watchers":901,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ericelliott/stampit/pulls/84"},"html":{"href":"https://github.com/ericelliott/stampit/pull/84"},"issue":{"href":"https://api.github.com/repos/ericelliott/stampit/issues/84"},"comments":{"href":"https://api.github.com/repos/ericelliott/stampit/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/ericelliott/stampit/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/ericelliott/stampit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ericelliott/stampit/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/ericelliott/stampit/statuses/3eda925fd7ad493b2c359549375aceddded1eecb"}}}}