diff --git a/build/dev.config.js b/build/dev.config.js index 160e4c031..6b3277d7e 100644 --- a/build/dev.config.js +++ b/build/dev.config.js @@ -1,6 +1,5 @@ var path = require('path') , makeConfig = require('./make-config'); - , args = require('yargs').argv; module.exports = makeConfig({ @@ -10,11 +9,12 @@ module.exports = makeConfig({ devtool: 'source-map', - entry: path.join(__dirname,'../dev/dev.jsx'), + entry: path.join(__dirname, '../dev/dev.jsx'), output: { filename: 'bundle.js', - path: __dirname + path: __dirname, + publicPath: '/dev' } }) diff --git a/dev/dev.jsx b/dev/dev.jsx index 8886615aa..6b7e7ca56 100644 --- a/dev/dev.jsx +++ b/dev/dev.jsx @@ -3,25 +3,27 @@ require('../src/less/react-widgets.less') //require('react-a11y')(); var configure = require('../src/configure') +var localizers = require('../src/globalize-localizers') + +configure.setLocalizers(localizers(window.Globalize)) //configure.setGlobalizeInstance(window.Globalize); var React = require('react/addons') //var jquery = require('jquery') var index = require('../src') +var dates = require('../src/util/dates') var DropdownList = require('../src/DropdownList.jsx') var Multiselect = require('../src/Multiselect.jsx') var Calendar = require('../src/Calendar.jsx') -var DatePicker = require('../src/DateTimePicker.jsx') -var NumberPicker = require('../src/NumberPicker.jsx') -var ComboBox = require('../src/Combobox.jsx') -var SelectList = require('../src/SelectList.jsx') -var List = require('../src/List.jsx') +// var DatePicker = require('../src/DateTimePicker.jsx') +// var NumberPicker = require('../src/NumberPicker.jsx') +// var ComboBox = require('../src/Combobox.jsx') +// var SelectList = require('../src/SelectList.jsx') +// var List = require('../src/List.jsx') var chance = new (require('chance')) -var { ModalTrigger, Modal } = require('react-bootstrap') - // var moment = require('moment') // var endOfDecade = date => moment(date).add(10, 'year').add(-1, 'millisecond').toDate() @@ -131,11 +133,18 @@ var App = React.createClass({