Skip to content

Commit

Permalink
Fix codepen demo for react 15 compatibility, close ant-design#7808
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Oct 6, 2017
1 parent 2e2acb5 commit cf6dfac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/theme/template/Content/Demo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ export default class Demo extends React.Component {
editors: '001',
css_external: 'https://unpkg.com/antd/dist/antd.css',
js_external: [
'react/dist/react.js',
'react-dom/dist/react-dom.js',
'react@15.x/dist/react.js',
'react-dom@15.x/dist/react-dom.js',
'moment/min/moment-with-locales.js',
'antd/dist/antd-with-locales.js',
].map(url => `https://unpkg.com/${url}`).join(';'),
Expand Down

0 comments on commit cf6dfac

Please sign in to comment.