{"action":"opened","number":228,"pull_request":{"url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/228","id":31182330,"html_url":"https://github.com/fusioneng/Shortcake/pull/228","diff_url":"https://github.com/fusioneng/Shortcake/pull/228.diff","patch_url":"https://github.com/fusioneng/Shortcake/pull/228.patch","issue_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/228","number":228,"state":"open","locked":false,"title":"Revert 224 revert 218 optimize js 2","user":{"login":"mattheu","id":494927,"avatar_url":"https://avatars.githubusercontent.com/u/494927?v=3","gravatar_id":"","url":"https://api.github.com/users/mattheu","html_url":"https://github.com/mattheu","followers_url":"https://api.github.com/users/mattheu/followers","following_url":"https://api.github.com/users/mattheu/following{/other_user}","gists_url":"https://api.github.com/users/mattheu/gists{/gist_id}","starred_url":"https://api.github.com/users/mattheu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattheu/subscriptions","organizations_url":"https://api.github.com/users/mattheu/orgs","repos_url":"https://api.github.com/users/mattheu/repos","events_url":"https://api.github.com/users/mattheu/events{/privacy}","received_events_url":"https://api.github.com/users/mattheu/received_events","type":"User","site_admin":false},"body":"A second attempt at https://github.com/fusioneng/Shortcake/pull/225 - I have committed a bunch of improvements to the handling of inner content - but these aren't neccessary. So I'm opening a new PR.\r\n\r\nI think the issue with previews not working is due to the version of WP core in use. I had forgotten that I had patched the copy I was using locally.\r\n\r\n* 4.1.1 should work fine - altough I had to fix a bug with the registration of mce.views.\r\n* Trunk (as it was  a week ago) - styles were not imported into iframes. Could this be the issue you were having with galleries?\r\n* 4.2-beta-1 should work fine - my patch for this got committed.\r\n\r\nThe other bug - Inner content field always showing. I just got carried away removing things :smile: Fixed.\r\n\r\nGallery and facebook are both rendering fine for me on my local copy of Fusion - tested against 4.2 beta and 4.1.1.\r\n","created_at":"2015-03-14T11:47:07Z","updated_at":"2015-03-14T11:47:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/228/commits","review_comments_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/228/comments","review_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/228/comments","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/aac52b4981e17313a9e6a8de50822a95577cd269","head":{"label":"fusioneng:revert-224-revert-218-optimize-js-2","ref":"revert-224-revert-218-optimize-js-2","sha":"aac52b4981e17313a9e6a8de50822a95577cd269","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":25159454,"name":"Shortcake","full_name":"fusioneng/Shortcake","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/Shortcake","description":"Shortcake makes using WordPress shortcodes a piece of cake.","fork":false,"url":"https://api.github.com/repos/fusioneng/Shortcake","forks_url":"https://api.github.com/repos/fusioneng/Shortcake/forks","keys_url":"https://api.github.com/repos/fusioneng/Shortcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/Shortcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/Shortcake/teams","hooks_url":"https://api.github.com/repos/fusioneng/Shortcake/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/Shortcake/events","assignees_url":"https://api.github.com/repos/fusioneng/Shortcake/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/Shortcake/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/Shortcake/tags","blobs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/Shortcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/Shortcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/Shortcake/languages","stargazers_url":"https://api.github.com/repos/fusioneng/Shortcake/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/Shortcake/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/Shortcake/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/Shortcake/subscription","commits_url":"https://api.github.com/repos/fusioneng/Shortcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/Shortcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusioneng/Shortcake/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/Shortcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/Shortcake/merges","archive_url":"https://api.github.com/repos/fusioneng/Shortcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/Shortcake/downloads","issues_url":"https://api.github.com/repos/fusioneng/Shortcake/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/Shortcake/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/Shortcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/Shortcake/releases{/id}","created_at":"2014-10-13T13:21:15Z","updated_at":"2015-03-10T20:25:15Z","pushed_at":"2015-03-14T11:27:34Z","git_url":"git://github.com/fusioneng/Shortcake.git","ssh_url":"git@github.com:fusioneng/Shortcake.git","clone_url":"https://github.com/fusioneng/Shortcake.git","svn_url":"https://github.com/fusioneng/Shortcake","homepage":"http://next.fusion.net/tag/shortcode-ui/","size":2846,"stargazers_count":291,"watchers_count":291,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":62,"forks":23,"open_issues":62,"watchers":291,"default_branch":"master"}},"base":{"label":"fusioneng:master","ref":"master","sha":"6a5f10061c0cc8d09bc77cda58968e074654e67c","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":25159454,"name":"Shortcake","full_name":"fusioneng/Shortcake","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/Shortcake","description":"Shortcake makes using WordPress shortcodes a piece of cake.","fork":false,"url":"https://api.github.com/repos/fusioneng/Shortcake","forks_url":"https://api.github.com/repos/fusioneng/Shortcake/forks","keys_url":"https://api.github.com/repos/fusioneng/Shortcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/Shortcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/Shortcake/teams","hooks_url":"https://api.github.com/repos/fusioneng/Shortcake/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/Shortcake/events","assignees_url":"https://api.github.com/repos/fusioneng/Shortcake/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/Shortcake/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/Shortcake/tags","blobs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/Shortcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/Shortcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/Shortcake/languages","stargazers_url":"https://api.github.com/repos/fusioneng/Shortcake/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/Shortcake/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/Shortcake/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/Shortcake/subscription","commits_url":"https://api.github.com/repos/fusioneng/Shortcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/Shortcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments{/number}","contents_url":"https://api.github.com/repos/fusioneng/Shortcake/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/Shortcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/Shortcake/merges","archive_url":"https://api.github.com/repos/fusioneng/Shortcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/Shortcake/downloads","issues_url":"https://api.github.com/repos/fusioneng/Shortcake/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/Shortcake/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/Shortcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/Shortcake/releases{/id}","created_at":"2014-10-13T13:21:15Z","updated_at":"2015-03-10T20:25:15Z","pushed_at":"2015-03-14T11:27:34Z","git_url":"git://github.com/fusioneng/Shortcake.git","ssh_url":"git@github.com:fusioneng/Shortcake.git","clone_url":"https://github.com/fusioneng/Shortcake.git","svn_url":"https://github.com/fusioneng/Shortcake","homepage":"http://next.fusion.net/tag/shortcode-ui/","size":2846,"stargazers_count":291,"watchers_count":291,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":62,"forks":23,"open_issues":62,"watchers":291,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/228"},"html":{"href":"https://github.com/fusioneng/Shortcake/pull/228"},"issue":{"href":"https://api.github.com/repos/fusioneng/Shortcake/issues/228"},"comments":{"href":"https://api.github.com/repos/fusioneng/Shortcake/issues/228/comments"},"review_comments":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/228/comments"},"review_comment":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/228/commits"},"statuses":{"href":"https://api.github.com/repos/fusioneng/Shortcake/statuses/aac52b4981e17313a9e6a8de50822a95577cd269"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":3168,"deletions":784,"changed_files":41}}