pull/59/head
yiminghe 10 years ago
parent 9b7b940cb4
commit eeebf8c6e5

@ -1,5 +1,6 @@
window['css-animation'] = require('css-animation');
window['react-router'] = window.ReactRouter;
var antd = require('antd');
var $ = require('jquery');
var React = require('react');
@ -16,7 +17,7 @@ $(function () {
return searchData.map(function (s) {
return <Option sData={s} key={s.title}>
<strong>{s.title}</strong>
&nbsp;
&nbsp;
<span>{s.desc}</span>
</Option>;
});
@ -45,3 +46,4 @@ $(function () {
React.render(<AutoComplete/>, document.getElementById('autoComplete'));
});
module.exports = antd;

@ -29,6 +29,7 @@ module.exports = {
commonjs: 'react',
amd: 'react'
},
'antd':'antd',
'jquery': {
root: 'jQuery',
commonjs2: 'jquery',

Loading…
Cancel
Save