Skip to content

Commit

Permalink
Merge pull request #498 from kadirahq/postmsg
Browse files Browse the repository at this point in the history
Use the postmsg channel
  • Loading branch information
Muhammed Thanish committed Sep 27, 2016
2 parents 32e3f82 + 5da9188 commit 5cc3942
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@kadira/storybook-addon-actions": "^1.0.2",
"@kadira/storybook-addon-links": "^1.0.0",
"@kadira/storybook-addons": "^1.5.0",
"@kadira/storybook-channel-pagebus": "^2.0.2",
"@kadira/storybook-channel-postmsg": "^1.0.1",
"@kadira/storybook-database-local": "^1.2.1",
"@kadira/storybook-ui": "^3.6.0",
"airbnb-js-shims": "^1.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/client/manager/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const iframeStyle = {

const Preview = ({ url }) => (
<iframe
id="storybook-preview-iframe"
style={iframeStyle}
src={url}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/client/manager/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import qs from 'qs';
import React from 'react';
import { Provider } from '@kadira/storybook-ui';
import addons from '@kadira/storybook-addons';
import createChannel from '@kadira/storybook-channel-pagebus';
import createChannel from '@kadira/storybook-channel-postmsg';
import createDatabase from '@kadira/storybook-database-local';
import Preview from './preview';

Expand Down
2 changes: 1 addition & 1 deletion src/client/preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { createStore } from 'redux';
import addons from '@kadira/storybook-addons';
import createChannel from '@kadira/storybook-channel-pagebus';
import createChannel from '@kadira/storybook-channel-postmsg';
import qs from 'qs';
import StoryStore from './story_store';
import ClientApi from './client_api';
Expand Down

0 comments on commit 5cc3942

Please sign in to comment.