mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-10-30 07:40:05 -04:00
24 lines
733 B
JavaScript
24 lines
733 B
JavaScript
var React = require('react');
|
|
var ReactDOM = require('react-dom');
|
|
|
|
var Globalize = require('globalize');
|
|
var globalizeLocalizer = require('react-widgets/lib/localizers/globalize');
|
|
|
|
var MoneyGoApp = require('./MoneyGoApp.js');
|
|
|
|
// Setup globalization for react-widgets
|
|
//Globalize.load(require("cldr-data").entireSupplemental());
|
|
Globalize.load(
|
|
require("cldr-data/main/en/ca-gregorian"),
|
|
require("cldr-data/main/en/numbers"),
|
|
require("cldr-data/supplemental/likelySubtags"),
|
|
require("cldr-data/supplemental/timeData"),
|
|
require("cldr-data/supplemental/weekData")
|
|
);
|
|
Globalize.locale('en');
|
|
globalizeLocalizer(Globalize);
|
|
|
|
$(document).ready(function() {
|
|
ReactDOM.render(<MoneyGoApp />, document.getElementById("content"));
|
|
});
|