mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-12-25 23:23:21 -05:00
Move all components into 'components' subdirectory
This commit is contained in:
parent
6257e9193f
commit
0829393918
@ -2,7 +2,7 @@ var React = require('react');
|
||||
|
||||
var Combobox = require('react-widgets').Combobox;
|
||||
|
||||
var getAccountDisplayList = require('./utils.js').getAccountDisplayList;
|
||||
var getAccountDisplayList = require('../utils').getAccountDisplayList;
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: "AccountCombobox",
|
@ -32,7 +32,7 @@ var DropdownList = ReactWidgets.DropdownList;
|
||||
|
||||
var Big = require('big.js');
|
||||
|
||||
var models = require('./models.js');
|
||||
var models = require('../models');
|
||||
var Security = models.Security;
|
||||
var Account = models.Account;
|
||||
var Split = models.Split;
|
||||
@ -42,9 +42,9 @@ var TransactionStatusList = models.TransactionStatusList;
|
||||
var TransactionStatusMap = models.TransactionStatusMap;
|
||||
var Error = models.Error;
|
||||
|
||||
var getAccountDisplayName = require('./utils.js').getAccountDisplayName;
|
||||
var getAccountDisplayName = require('../utils').getAccountDisplayName;
|
||||
|
||||
var AccountCombobox = require('./AccountCombobox.js');
|
||||
var AccountCombobox = require('./AccountCombobox');
|
||||
|
||||
const TransactionRow = React.createClass({
|
||||
handleClick: function(e) {
|
@ -12,8 +12,7 @@ var FormControl = ReactBootstrap.FormControl;
|
||||
var ControlLabel = ReactBootstrap.ControlLabel;
|
||||
var Col = ReactBootstrap.Col;
|
||||
|
||||
var models = require('./models.js');
|
||||
var User = models.User;
|
||||
var User = require('../models').User;
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: "AccountSettingsModal",
|
@ -22,13 +22,13 @@ var Collapse = ReactBootstrap.Collapse;
|
||||
|
||||
var Combobox = require('react-widgets').Combobox;
|
||||
|
||||
var models = require('./models.js');
|
||||
var models = require('../models');
|
||||
var Security = models.Security;
|
||||
var Account = models.Account;
|
||||
var AccountTypeList = models.AccountTypeList;
|
||||
|
||||
var AccountCombobox = require('./AccountCombobox.js');
|
||||
var AccountRegister = require('./AccountRegister.js');
|
||||
var AccountCombobox = require('./AccountCombobox');
|
||||
var AccountRegister = require('./AccountRegister');
|
||||
|
||||
const AddEditAccountModal = React.createClass({
|
||||
getInitialState: function() {
|
@ -6,10 +6,10 @@ var Tabs = ReactBootstrap.Tabs;
|
||||
var Tab = ReactBootstrap.Tab;
|
||||
var Modal = ReactBootstrap.Modal;
|
||||
|
||||
var TopBarContainer = require('./containers/TopBarContainer');
|
||||
var NewUserForm = require('./NewUserForm.js');
|
||||
var AccountSettingsModalContainer = require('./containers/AccountSettingsModalContainer');
|
||||
var AccountsTabContainer = require('./containers/AccountsTabContainer');
|
||||
var TopBarContainer = require('../containers/TopBarContainer');
|
||||
var NewUserForm = require('./NewUserForm');
|
||||
var AccountSettingsModalContainer = require('../containers/AccountSettingsModalContainer');
|
||||
var AccountsTabContainer = require('../containers/AccountsTabContainer');
|
||||
|
||||
module.exports = React.createClass({
|
||||
displayName: "MoneyGoApp",
|
@ -11,7 +11,7 @@ var Col = ReactBootstrap.Col;
|
||||
var Button = ReactBootstrap.Button;
|
||||
var ButtonGroup = ReactBootstrap.ButtonGroup;
|
||||
|
||||
var models = require('./models.js');
|
||||
var models = require('../models');
|
||||
var User = models.User;
|
||||
var Error = models.Error;
|
||||
|
@ -12,7 +12,7 @@ var Col = ReactBootstrap.Col;
|
||||
|
||||
var ReactDOM = require('react-dom');
|
||||
|
||||
var User = require('./models.js').User;
|
||||
var User = require('../models').User;
|
||||
|
||||
const LoginBar = React.createClass({
|
||||
getInitialState: function() {
|
@ -1,7 +1,7 @@
|
||||
var connect = require('react-redux').connect;
|
||||
|
||||
var UserActions = require('../actions/UserActions');
|
||||
var AccountSettingsModal = require('../AccountSettingsModal');
|
||||
var AccountSettingsModal = require('../components/AccountSettingsModal');
|
||||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
|
@ -1,7 +1,7 @@
|
||||
var connect = require('react-redux').connect;
|
||||
|
||||
var AccountActions = require('../actions/AccountActions');
|
||||
var AccountsTab = require('../AccountsTab');
|
||||
var AccountsTab = require('../components/AccountsTab');
|
||||
|
||||
function mapStateToProps(state) {
|
||||
var security_list = [];
|
||||
|
@ -2,7 +2,7 @@ var connect = require('react-redux').connect;
|
||||
|
||||
var UserActions = require('../actions/UserActions');
|
||||
|
||||
var MoneyGoApp = require('../MoneyGoApp');
|
||||
var MoneyGoApp = require('../components/MoneyGoApp');
|
||||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
|
@ -3,7 +3,7 @@ var connect = require('react-redux').connect;
|
||||
var UserActions = require('../actions/UserActions');
|
||||
var ErrorActions = require('../actions/ErrorActions');
|
||||
|
||||
var TopBar = require('../TopBar');
|
||||
var TopBar = require('../components/TopBar');
|
||||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user