{"action":"created","comment":{"url":"https://api.github.com/repos/deltreey/Dable/pulls/comments/32093605","id":32093605,"diff_hunk":"@@ -0,0 +1,608 @@\n+/*! dable v1.2.1 (https://github.com/deltreey/Dable) */\n+(function() {\n+    var $$modules = {}, defineModule = function(name, exporter) {\n+        $$modules[name] = {\n+            exporter: exporter,\n+            ready: !1\n+        };\n+    }, require = function(name) {\n+        var m = $$modules[name];\n+        return m && !m.ready && (m.exports = {}, m.exporter.call(null, require, m, m.exports), \n+        m.ready = !0), m && m.exports;\n+    };\n+    defineModule(\"./utils\", function(require, module, exports) {\n+        exports.mixin = function(obj, mixins) {\n+            for (var keys = Object.keys(mixins), i = 0; i < keys.length; i++) {\n+                var key = keys[i];\n+                obj[key] = mixins[key];\n+            }\n+        }, exports.bind = function(fn, thisArg) {\n+            return function() {\n+                var args = Array.prototype.slice.call(arguments, 0);\n+                return fn.apply(thisArg, args);\n+            };\n+        }, exports.noop = function() {};\n+    }), function(module) {\n+        function RemoveStyle(node) {\n+            node.removeAttribute(\"style\");\n+            var childNodes = node.children;\n+            if (childNodes && childNodes.length > 0) for (var i = 0; i < childNodes.length; ++i) RemoveStyle(childNodes[i]);\n+        }\n+        var utils = require(\"./utils\"), Dable = function(tableOrId) {\n+            utils.mixin(this, Dable.defaults), this.BuildAll(tableOrId);\n+        };\n+        Dable.defaults = {\n+            id: \"\",\n+            columns: [],\n+            rows: [],\n+            rowObjects: [],\n+            visibleRows: [],\n+            visibleRowObjects: [],\n+            hiddenColumns: [],\n+            currentFilter: \"\",\n+            sortColumn: null,\n+            sortOrder: \"descending\",\n+            minimumSearchLength: 1,\n+            columnData: [],\n+            pageNumber: 0,\n+            pageSize: 10,\n+            pageSizes: [ 10, 25, 50, 100 ],\n+            pagerSize: 0,\n+            pagerIncludeFirstAndLast: !1,\n+            async: !1,\n+            asyncData: {},\n+            asyncStart: 0,\n+            asyncLength: 1e3,\n+            tfoothtml: \"\",\n+            style: \"none\",\n+            evenRowColor: \"#E2E4FF\",\n+            oddRowColor: \"white\",\n+            dableClass: \"\",\n+            headerClass: \"\",\n+            tableClass: \"\",\n+            sortClass: \"table-sort\",\n+            evenRowClass: \"table-row-even\",\n+            oddRowClass: \"table-row-odd\",\n+            footerClass: \"\",\n+            pagerButtonsClass: \"table-page\"\n+        }, Dable.prototype.RowCount = function() {\n+            return this.rows.length;\n+        }, Dable.prototype.VisibleRowCount = function() {\n+            return this.visibleRows.length;\n+        }, Dable.prototype.NumberOfPages = function() {\n+            var n = this.VisibleRowCount() / this.pageSize;\n+            return Math.ceil(n);\n+        }, Dable.prototype.GetPageForRow = function(row) {\n+            return Math.ceil(row / this.pageSize);\n+        }, Dable.prototype.asyncRequest = function(start, filter, sortColumn, ascending, callback) {\n+            var dable = this;\n+            \"undefined\" == typeof callback && (callback = !1);","path":"dist/dable.js","position":79,"original_position":79,"commit_id":"c8c8961edca19a5d1f67a8017377e237b2b949e4","original_commit_id":"c8c8961edca19a5d1f67a8017377e237b2b949e4","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Expected an assignment or function call and instead saw an expression.","created_at":"2015-06-10T07:24:05Z","updated_at":"2015-06-10T07:24:05Z","html_url":"https://github.com/deltreey/Dable/pull/13#discussion_r32093605","pull_request_url":"https://api.github.com/repos/deltreey/Dable/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/deltreey/Dable/pulls/comments/32093605"},"html":{"href":"https://github.com/deltreey/Dable/pull/13#discussion_r32093605"},"pull_request":{"href":"https://api.github.com/repos/deltreey/Dable/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/deltreey/Dable/pulls/13","id":37330767,"html_url":"https://github.com/deltreey/Dable/pull/13","diff_url":"https://github.com/deltreey/Dable/pull/13.diff","patch_url":"https://github.com/deltreey/Dable/pull/13.patch","issue_url":"https://api.github.com/repos/deltreey/Dable/issues/13","number":13,"state":"open","locked":false,"title":"Organize project","user":{"login":"danielkrainas","id":2432851,"avatar_url":"https://avatars.githubusercontent.com/u/2432851?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkrainas","html_url":"https://github.com/danielkrainas","followers_url":"https://api.github.com/users/danielkrainas/followers","following_url":"https://api.github.com/users/danielkrainas/following{/other_user}","gists_url":"https://api.github.com/users/danielkrainas/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkrainas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkrainas/subscriptions","organizations_url":"https://api.github.com/users/danielkrainas/orgs","repos_url":"https://api.github.com/users/danielkrainas/repos","events_url":"https://api.github.com/users/danielkrainas/events{/privacy}","received_events_url":"https://api.github.com/users/danielkrainas/received_events","type":"User","site_admin":false},"body":"- Splits project out into modules\r\n- Improve code readability\r\n- Build project using grunt\r\n- `dist` folder to contain the latest release, likely good to start on the next release\r\n - really needed for testing\r\n- Turns Dable into a prototype object","created_at":"2015-06-10T07:23:48Z","updated_at":"2015-06-10T07:24:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a13b7b5e8e5a5ce46ab085410510ae9198274bfa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/deltreey/Dable/pulls/13/commits","review_comments_url":"https://api.github.com/repos/deltreey/Dable/pulls/13/comments","review_comment_url":"https://api.github.com/repos/deltreey/Dable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deltreey/Dable/issues/13/comments","statuses_url":"https://api.github.com/repos/deltreey/Dable/statuses/c8c8961edca19a5d1f67a8017377e237b2b949e4","head":{"label":"danielkrainas:organize-project","ref":"organize-project","sha":"c8c8961edca19a5d1f67a8017377e237b2b949e4","user":{"login":"danielkrainas","id":2432851,"avatar_url":"https://avatars.githubusercontent.com/u/2432851?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkrainas","html_url":"https://github.com/danielkrainas","followers_url":"https://api.github.com/users/danielkrainas/followers","following_url":"https://api.github.com/users/danielkrainas/following{/other_user}","gists_url":"https://api.github.com/users/danielkrainas/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkrainas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkrainas/subscriptions","organizations_url":"https://api.github.com/users/danielkrainas/orgs","repos_url":"https://api.github.com/users/danielkrainas/repos","events_url":"https://api.github.com/users/danielkrainas/events{/privacy}","received_events_url":"https://api.github.com/users/danielkrainas/received_events","type":"User","site_admin":false},"repo":{"id":37168103,"name":"Dable","full_name":"danielkrainas/Dable","owner":{"login":"danielkrainas","id":2432851,"avatar_url":"https://avatars.githubusercontent.com/u/2432851?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkrainas","html_url":"https://github.com/danielkrainas","followers_url":"https://api.github.com/users/danielkrainas/followers","following_url":"https://api.github.com/users/danielkrainas/following{/other_user}","gists_url":"https://api.github.com/users/danielkrainas/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkrainas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkrainas/subscriptions","organizations_url":"https://api.github.com/users/danielkrainas/orgs","repos_url":"https://api.github.com/users/danielkrainas/repos","events_url":"https://api.github.com/users/danielkrainas/events{/privacy}","received_events_url":"https://api.github.com/users/danielkrainas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielkrainas/Dable","description":"Dable, the datatable framework that doesn't suck","fork":true,"url":"https://api.github.com/repos/danielkrainas/Dable","forks_url":"https://api.github.com/repos/danielkrainas/Dable/forks","keys_url":"https://api.github.com/repos/danielkrainas/Dable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielkrainas/Dable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielkrainas/Dable/teams","hooks_url":"https://api.github.com/repos/danielkrainas/Dable/hooks","issue_events_url":"https://api.github.com/repos/danielkrainas/Dable/issues/events{/number}","events_url":"https://api.github.com/repos/danielkrainas/Dable/events","assignees_url":"https://api.github.com/repos/danielkrainas/Dable/assignees{/user}","branches_url":"https://api.github.com/repos/danielkrainas/Dable/branches{/branch}","tags_url":"https://api.github.com/repos/danielkrainas/Dable/tags","blobs_url":"https://api.github.com/repos/danielkrainas/Dable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielkrainas/Dable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielkrainas/Dable/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielkrainas/Dable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielkrainas/Dable/statuses/{sha}","languages_url":"https://api.github.com/repos/danielkrainas/Dable/languages","stargazers_url":"https://api.github.com/repos/danielkrainas/Dable/stargazers","contributors_url":"https://api.github.com/repos/danielkrainas/Dable/contributors","subscribers_url":"https://api.github.com/repos/danielkrainas/Dable/subscribers","subscription_url":"https://api.github.com/repos/danielkrainas/Dable/subscription","commits_url":"https://api.github.com/repos/danielkrainas/Dable/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielkrainas/Dable/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielkrainas/Dable/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielkrainas/Dable/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielkrainas/Dable/contents/{+path}","compare_url":"https://api.github.com/repos/danielkrainas/Dable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielkrainas/Dable/merges","archive_url":"https://api.github.com/repos/danielkrainas/Dable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielkrainas/Dable/downloads","issues_url":"https://api.github.com/repos/danielkrainas/Dable/issues{/number}","pulls_url":"https://api.github.com/repos/danielkrainas/Dable/pulls{/number}","milestones_url":"https://api.github.com/repos/danielkrainas/Dable/milestones{/number}","notifications_url":"https://api.github.com/repos/danielkrainas/Dable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielkrainas/Dable/labels{/name}","releases_url":"https://api.github.com/repos/danielkrainas/Dable/releases{/id}","created_at":"2015-06-10T01:19:41Z","updated_at":"2015-06-10T01:19:41Z","pushed_at":"2015-06-10T07:20:54Z","git_url":"git://github.com/danielkrainas/Dable.git","ssh_url":"git@github.com:danielkrainas/Dable.git","clone_url":"https://github.com/danielkrainas/Dable.git","svn_url":"https://github.com/danielkrainas/Dable","homepage":"http://deltreey.github.io/Dable/","size":749,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":0,"default_branch":"master"}},"base":{"label":"deltreey:master","ref":"master","sha":"7ac9af232330b9ad1f7c8cd7c2c498471139677a","user":{"login":"deltreey","id":585755,"avatar_url":"https://avatars.githubusercontent.com/u/585755?v=3","gravatar_id":"","url":"https://api.github.com/users/deltreey","html_url":"https://github.com/deltreey","followers_url":"https://api.github.com/users/deltreey/followers","following_url":"https://api.github.com/users/deltreey/following{/other_user}","gists_url":"https://api.github.com/users/deltreey/gists{/gist_id}","starred_url":"https://api.github.com/users/deltreey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltreey/subscriptions","organizations_url":"https://api.github.com/users/deltreey/orgs","repos_url":"https://api.github.com/users/deltreey/repos","events_url":"https://api.github.com/users/deltreey/events{/privacy}","received_events_url":"https://api.github.com/users/deltreey/received_events","type":"User","site_admin":false},"repo":{"id":23518971,"name":"Dable","full_name":"deltreey/Dable","owner":{"login":"deltreey","id":585755,"avatar_url":"https://avatars.githubusercontent.com/u/585755?v=3","gravatar_id":"","url":"https://api.github.com/users/deltreey","html_url":"https://github.com/deltreey","followers_url":"https://api.github.com/users/deltreey/followers","following_url":"https://api.github.com/users/deltreey/following{/other_user}","gists_url":"https://api.github.com/users/deltreey/gists{/gist_id}","starred_url":"https://api.github.com/users/deltreey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deltreey/subscriptions","organizations_url":"https://api.github.com/users/deltreey/orgs","repos_url":"https://api.github.com/users/deltreey/repos","events_url":"https://api.github.com/users/deltreey/events{/privacy}","received_events_url":"https://api.github.com/users/deltreey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deltreey/Dable","description":"Dable, the datatable framework that doesn't suck","fork":false,"url":"https://api.github.com/repos/deltreey/Dable","forks_url":"https://api.github.com/repos/deltreey/Dable/forks","keys_url":"https://api.github.com/repos/deltreey/Dable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deltreey/Dable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deltreey/Dable/teams","hooks_url":"https://api.github.com/repos/deltreey/Dable/hooks","issue_events_url":"https://api.github.com/repos/deltreey/Dable/issues/events{/number}","events_url":"https://api.github.com/repos/deltreey/Dable/events","assignees_url":"https://api.github.com/repos/deltreey/Dable/assignees{/user}","branches_url":"https://api.github.com/repos/deltreey/Dable/branches{/branch}","tags_url":"https://api.github.com/repos/deltreey/Dable/tags","blobs_url":"https://api.github.com/repos/deltreey/Dable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deltreey/Dable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deltreey/Dable/git/refs{/sha}","trees_url":"https://api.github.com/repos/deltreey/Dable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deltreey/Dable/statuses/{sha}","languages_url":"https://api.github.com/repos/deltreey/Dable/languages","stargazers_url":"https://api.github.com/repos/deltreey/Dable/stargazers","contributors_url":"https://api.github.com/repos/deltreey/Dable/contributors","subscribers_url":"https://api.github.com/repos/deltreey/Dable/subscribers","subscription_url":"https://api.github.com/repos/deltreey/Dable/subscription","commits_url":"https://api.github.com/repos/deltreey/Dable/commits{/sha}","git_commits_url":"https://api.github.com/repos/deltreey/Dable/git/commits{/sha}","comments_url":"https://api.github.com/repos/deltreey/Dable/comments{/number}","issue_comment_url":"https://api.github.com/repos/deltreey/Dable/issues/comments{/number}","contents_url":"https://api.github.com/repos/deltreey/Dable/contents/{+path}","compare_url":"https://api.github.com/repos/deltreey/Dable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deltreey/Dable/merges","archive_url":"https://api.github.com/repos/deltreey/Dable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deltreey/Dable/downloads","issues_url":"https://api.github.com/repos/deltreey/Dable/issues{/number}","pulls_url":"https://api.github.com/repos/deltreey/Dable/pulls{/number}","milestones_url":"https://api.github.com/repos/deltreey/Dable/milestones{/number}","notifications_url":"https://api.github.com/repos/deltreey/Dable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deltreey/Dable/labels{/name}","releases_url":"https://api.github.com/repos/deltreey/Dable/releases{/id}","created_at":"2014-08-31T17:25:37Z","updated_at":"2015-04-16T23:50:43Z","pushed_at":"2015-06-10T07:23:49Z","git_url":"git://github.com/deltreey/Dable.git","ssh_url":"git@github.com:deltreey/Dable.git","clone_url":"https://github.com/deltreey/Dable.git","svn_url":"https://github.com/deltreey/Dable","homepage":"http://deltreey.github.io/Dable/","size":749,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deltreey/Dable/pulls/13"},"html":{"href":"https://github.com/deltreey/Dable/pull/13"},"issue":{"href":"https://api.github.com/repos/deltreey/Dable/issues/13"},"comments":{"href":"https://api.github.com/repos/deltreey/Dable/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/deltreey/Dable/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/deltreey/Dable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deltreey/Dable/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/deltreey/Dable/statuses/c8c8961edca19a5d1f67a8017377e237b2b949e4"}}}}