2015年6月22日 星期一

make require.js currently

require(['./components/post/postbox'], function() {
      var PostBox = require('./components/post/postbox');
   alert(PostBox.name);
});

http://blog.csdn.net/aitangyong/article/details/40708025