{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/Frontwise/grid-editor/pulls/8","id":44767365,"html_url":"https://github.com/Frontwise/grid-editor/pull/8","diff_url":"https://github.com/Frontwise/grid-editor/pull/8.diff","patch_url":"https://github.com/Frontwise/grid-editor/pull/8.patch","issue_url":"https://api.github.com/repos/Frontwise/grid-editor/issues/8","number":8,"state":"closed","locked":false,"title":"Custom content filter","user":{"login":"madc","id":343392,"avatar_url":"https://avatars.githubusercontent.com/u/343392?v=3","gravatar_id":"","url":"https://api.github.com/users/madc","html_url":"https://github.com/madc","followers_url":"https://api.github.com/users/madc/followers","following_url":"https://api.github.com/users/madc/following{/other_user}","gists_url":"https://api.github.com/users/madc/gists{/gist_id}","starred_url":"https://api.github.com/users/madc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madc/subscriptions","organizations_url":"https://api.github.com/users/madc/orgs","repos_url":"https://api.github.com/users/madc/repos","events_url":"https://api.github.com/users/madc/events{/privacy}","received_events_url":"https://api.github.com/users/madc/received_events","type":"User","site_admin":false},"body":"This PR adds an option to execute custom filter functions before init and after deinit.\r\n\r\n```\r\n    ...\r\n    custom_filter: ['functionname_1', functionname2'],\r\n    ...\r\n```\r\n\r\n```\r\n    ...\r\n    custom_filter: [function(canvas, isInit) { /* code */ }, 'functionname2'],\r\n    ...\r\n```","created_at":"2015-09-11T10:25:35Z","updated_at":"2015-10-26T17:21:07Z","closed_at":"2015-10-26T17:21:07Z","merged_at":"2015-10-26T17:21:07Z","merge_commit_sha":"cd400761337522f5ffc73df939d4c47c1904836e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Frontwise/grid-editor/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Frontwise/grid-editor/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Frontwise/grid-editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Frontwise/grid-editor/issues/8/comments","statuses_url":"https://api.github.com/repos/Frontwise/grid-editor/statuses/84b09866726060513e2ea2627b8acc40398fdf74","head":{"label":"madc:content_filter","ref":"content_filter","sha":"84b09866726060513e2ea2627b8acc40398fdf74","user":{"login":"madc","id":343392,"avatar_url":"https://avatars.githubusercontent.com/u/343392?v=3","gravatar_id":"","url":"https://api.github.com/users/madc","html_url":"https://github.com/madc","followers_url":"https://api.github.com/users/madc/followers","following_url":"https://api.github.com/users/madc/following{/other_user}","gists_url":"https://api.github.com/users/madc/gists{/gist_id}","starred_url":"https://api.github.com/users/madc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madc/subscriptions","organizations_url":"https://api.github.com/users/madc/orgs","repos_url":"https://api.github.com/users/madc/repos","events_url":"https://api.github.com/users/madc/events{/privacy}","received_events_url":"https://api.github.com/users/madc/received_events","type":"User","site_admin":false},"repo":{"id":41416660,"name":"grid-editor","full_name":"madc/grid-editor","owner":{"login":"madc","id":343392,"avatar_url":"https://avatars.githubusercontent.com/u/343392?v=3","gravatar_id":"","url":"https://api.github.com/users/madc","html_url":"https://github.com/madc","followers_url":"https://api.github.com/users/madc/followers","following_url":"https://api.github.com/users/madc/following{/other_user}","gists_url":"https://api.github.com/users/madc/gists{/gist_id}","starred_url":"https://api.github.com/users/madc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madc/subscriptions","organizations_url":"https://api.github.com/users/madc/orgs","repos_url":"https://api.github.com/users/madc/repos","events_url":"https://api.github.com/users/madc/events{/privacy}","received_events_url":"https://api.github.com/users/madc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madc/grid-editor","description":"Visual javascript editor for the bootstrap grid system, written as a jQuery plugin.","fork":true,"url":"https://api.github.com/repos/madc/grid-editor","forks_url":"https://api.github.com/repos/madc/grid-editor/forks","keys_url":"https://api.github.com/repos/madc/grid-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madc/grid-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madc/grid-editor/teams","hooks_url":"https://api.github.com/repos/madc/grid-editor/hooks","issue_events_url":"https://api.github.com/repos/madc/grid-editor/issues/events{/number}","events_url":"https://api.github.com/repos/madc/grid-editor/events","assignees_url":"https://api.github.com/repos/madc/grid-editor/assignees{/user}","branches_url":"https://api.github.com/repos/madc/grid-editor/branches{/branch}","tags_url":"https://api.github.com/repos/madc/grid-editor/tags","blobs_url":"https://api.github.com/repos/madc/grid-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madc/grid-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madc/grid-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/madc/grid-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madc/grid-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/madc/grid-editor/languages","stargazers_url":"https://api.github.com/repos/madc/grid-editor/stargazers","contributors_url":"https://api.github.com/repos/madc/grid-editor/contributors","subscribers_url":"https://api.github.com/repos/madc/grid-editor/subscribers","subscription_url":"https://api.github.com/repos/madc/grid-editor/subscription","commits_url":"https://api.github.com/repos/madc/grid-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/madc/grid-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/madc/grid-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/madc/grid-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/madc/grid-editor/contents/{+path}","compare_url":"https://api.github.com/repos/madc/grid-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madc/grid-editor/merges","archive_url":"https://api.github.com/repos/madc/grid-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madc/grid-editor/downloads","issues_url":"https://api.github.com/repos/madc/grid-editor/issues{/number}","pulls_url":"https://api.github.com/repos/madc/grid-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/madc/grid-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/madc/grid-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madc/grid-editor/labels{/name}","releases_url":"https://api.github.com/repos/madc/grid-editor/releases{/id}","created_at":"2015-08-26T09:20:10Z","updated_at":"2015-08-26T09:20:11Z","pushed_at":"2015-10-07T09:49:31Z","git_url":"git://github.com/madc/grid-editor.git","ssh_url":"git@github.com:madc/grid-editor.git","clone_url":"https://github.com/madc/grid-editor.git","svn_url":"https://github.com/madc/grid-editor","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Frontwise:master","ref":"master","sha":"650a05cc71e353fba56549c908a90043ebecbad4","user":{"login":"Frontwise","id":10545389,"avatar_url":"https://avatars.githubusercontent.com/u/10545389?v=3","gravatar_id":"","url":"https://api.github.com/users/Frontwise","html_url":"https://github.com/Frontwise","followers_url":"https://api.github.com/users/Frontwise/followers","following_url":"https://api.github.com/users/Frontwise/following{/other_user}","gists_url":"https://api.github.com/users/Frontwise/gists{/gist_id}","starred_url":"https://api.github.com/users/Frontwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frontwise/subscriptions","organizations_url":"https://api.github.com/users/Frontwise/orgs","repos_url":"https://api.github.com/users/Frontwise/repos","events_url":"https://api.github.com/users/Frontwise/events{/privacy}","received_events_url":"https://api.github.com/users/Frontwise/received_events","type":"Organization","site_admin":false},"repo":{"id":29292511,"name":"grid-editor","full_name":"Frontwise/grid-editor","owner":{"login":"Frontwise","id":10545389,"avatar_url":"https://avatars.githubusercontent.com/u/10545389?v=3","gravatar_id":"","url":"https://api.github.com/users/Frontwise","html_url":"https://github.com/Frontwise","followers_url":"https://api.github.com/users/Frontwise/followers","following_url":"https://api.github.com/users/Frontwise/following{/other_user}","gists_url":"https://api.github.com/users/Frontwise/gists{/gist_id}","starred_url":"https://api.github.com/users/Frontwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frontwise/subscriptions","organizations_url":"https://api.github.com/users/Frontwise/orgs","repos_url":"https://api.github.com/users/Frontwise/repos","events_url":"https://api.github.com/users/Frontwise/events{/privacy}","received_events_url":"https://api.github.com/users/Frontwise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Frontwise/grid-editor","description":"Visual javascript editor for the bootstrap grid system, written as a jQuery plugin.","fork":false,"url":"https://api.github.com/repos/Frontwise/grid-editor","forks_url":"https://api.github.com/repos/Frontwise/grid-editor/forks","keys_url":"https://api.github.com/repos/Frontwise/grid-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Frontwise/grid-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Frontwise/grid-editor/teams","hooks_url":"https://api.github.com/repos/Frontwise/grid-editor/hooks","issue_events_url":"https://api.github.com/repos/Frontwise/grid-editor/issues/events{/number}","events_url":"https://api.github.com/repos/Frontwise/grid-editor/events","assignees_url":"https://api.github.com/repos/Frontwise/grid-editor/assignees{/user}","branches_url":"https://api.github.com/repos/Frontwise/grid-editor/branches{/branch}","tags_url":"https://api.github.com/repos/Frontwise/grid-editor/tags","blobs_url":"https://api.github.com/repos/Frontwise/grid-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Frontwise/grid-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Frontwise/grid-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Frontwise/grid-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Frontwise/grid-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/Frontwise/grid-editor/languages","stargazers_url":"https://api.github.com/repos/Frontwise/grid-editor/stargazers","contributors_url":"https://api.github.com/repos/Frontwise/grid-editor/contributors","subscribers_url":"https://api.github.com/repos/Frontwise/grid-editor/subscribers","subscription_url":"https://api.github.com/repos/Frontwise/grid-editor/subscription","commits_url":"https://api.github.com/repos/Frontwise/grid-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Frontwise/grid-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Frontwise/grid-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Frontwise/grid-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Frontwise/grid-editor/contents/{+path}","compare_url":"https://api.github.com/repos/Frontwise/grid-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Frontwise/grid-editor/merges","archive_url":"https://api.github.com/repos/Frontwise/grid-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Frontwise/grid-editor/downloads","issues_url":"https://api.github.com/repos/Frontwise/grid-editor/issues{/number}","pulls_url":"https://api.github.com/repos/Frontwise/grid-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/Frontwise/grid-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/Frontwise/grid-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Frontwise/grid-editor/labels{/name}","releases_url":"https://api.github.com/repos/Frontwise/grid-editor/releases{/id}","created_at":"2015-01-15T10:35:24Z","updated_at":"2015-10-26T10:45:51Z","pushed_at":"2015-10-26T17:21:07Z","git_url":"git://github.com/Frontwise/grid-editor.git","ssh_url":"git@github.com:Frontwise/grid-editor.git","clone_url":"https://github.com/Frontwise/grid-editor.git","svn_url":"https://github.com/Frontwise/grid-editor","homepage":null,"size":289,"stargazers_count":36,"watchers_count":36,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":4,"forks":9,"open_issues":4,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Frontwise/grid-editor/pulls/8"},"html":{"href":"https://github.com/Frontwise/grid-editor/pull/8"},"issue":{"href":"https://api.github.com/repos/Frontwise/grid-editor/issues/8"},"comments":{"href":"https://api.github.com/repos/Frontwise/grid-editor/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Frontwise/grid-editor/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Frontwise/grid-editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Frontwise/grid-editor/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Frontwise/grid-editor/statuses/84b09866726060513e2ea2627b8acc40398fdf74"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Epskampie","id":1692043,"avatar_url":"https://avatars.githubusercontent.com/u/1692043?v=3","gravatar_id":"","url":"https://api.github.com/users/Epskampie","html_url":"https://github.com/Epskampie","followers_url":"https://api.github.com/users/Epskampie/followers","following_url":"https://api.github.com/users/Epskampie/following{/other_user}","gists_url":"https://api.github.com/users/Epskampie/gists{/gist_id}","starred_url":"https://api.github.com/users/Epskampie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Epskampie/subscriptions","organizations_url":"https://api.github.com/users/Epskampie/orgs","repos_url":"https://api.github.com/users/Epskampie/repos","events_url":"https://api.github.com/users/Epskampie/events{/privacy}","received_events_url":"https://api.github.com/users/Epskampie/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":5,"additions":45,"deletions":0,"changed_files":2}}