Browserify doesnt seem to require .js extensions anymore
This commit is contained in:
parent
43a725c662
commit
83ddce0468
@ -1,7 +1,7 @@
|
||||
var Reflux = require('reflux');
|
||||
var _ = require('lodash');
|
||||
|
||||
var socket = require('../socket.js');
|
||||
var socket = require('../socket');
|
||||
|
||||
var channelActions = Reflux.createActions([
|
||||
'join',
|
||||
|
@ -1,6 +1,6 @@
|
||||
var Reflux = require('reflux');
|
||||
|
||||
var socket = require('../socket.js');
|
||||
var socket = require('../socket');
|
||||
|
||||
var messageActions = Reflux.createActions([
|
||||
'send',
|
||||
|
@ -1,6 +1,6 @@
|
||||
var Reflux = require('reflux');
|
||||
|
||||
var socket = require('../socket.js')('/ws');
|
||||
var socket = require('../socket');
|
||||
|
||||
var serverActions = Reflux.createActions([
|
||||
'connect',
|
||||
|
@ -3,9 +3,9 @@ var React = require('react');
|
||||
var socket = require('./socket');
|
||||
var util = require('./util');
|
||||
var App = require('./components/App.jsx');
|
||||
var tabActions = require('./actions/tab.js');
|
||||
var serverActions = require('./actions/server.js');
|
||||
var channelActions = require('./actions/channel.js');
|
||||
var tabActions = require('./actions/tab');
|
||||
var serverActions = require('./actions/server');
|
||||
var channelActions = require('./actions/channel');
|
||||
|
||||
var uuid = localStorage.uuid || (localStorage.uuid = util.UUID());
|
||||
var nick = 'test' + Math.floor(Math.random() * 99999);
|
||||
|
@ -1,8 +1,8 @@
|
||||
var React = require('react');
|
||||
var Reflux = require('reflux');
|
||||
|
||||
var channelStore = require('../stores/channel.js');
|
||||
var selectedTabStore = require('../stores/selectedTab.js');
|
||||
var channelStore = require('../stores/channel');
|
||||
var selectedTabStore = require('../stores/selectedTab');
|
||||
|
||||
var ChatTitle = React.createClass({
|
||||
mixins: [
|
||||
|
@ -2,8 +2,8 @@ var React = require('react');
|
||||
var Reflux = require('reflux');
|
||||
var _ = require('lodash');
|
||||
|
||||
var messageStore = require('../stores/message.js');
|
||||
var selectedTabStore = require('../stores/selectedTab.js');
|
||||
var messageStore = require('../stores/message');
|
||||
var selectedTabStore = require('../stores/selectedTab');
|
||||
|
||||
var MessageBox = React.createClass({
|
||||
mixins: [
|
||||
|
@ -1,9 +1,9 @@
|
||||
var React = require('react');
|
||||
var Reflux = require('reflux');
|
||||
|
||||
var selectedTabStore = require('../stores/selectedTab.js');
|
||||
var messageActions = require('../actions/message.js');
|
||||
var channelActions = require('../actions/channel.js');
|
||||
var selectedTabStore = require('../stores/selectedTab');
|
||||
var messageActions = require('../actions/message');
|
||||
var channelActions = require('../actions/channel');
|
||||
|
||||
function dispatchCommand(cmd, channel, server) {
|
||||
var params = cmd.slice(1).split(' ');
|
||||
|
@ -2,10 +2,10 @@ var React = require('react');
|
||||
var Reflux = require('reflux');
|
||||
var _ = require('lodash');
|
||||
|
||||
var serverStore = require('../stores/server.js');
|
||||
var channelStore = require('../stores/channel.js');
|
||||
var selectedTabStore = require('../stores/selectedTab.js');
|
||||
var tabActions = require('../actions/tab.js');
|
||||
var serverStore = require('../stores/server');
|
||||
var channelStore = require('../stores/channel');
|
||||
var selectedTabStore = require('../stores/selectedTab');
|
||||
var tabActions = require('../actions/tab');
|
||||
|
||||
var TabList = React.createClass({
|
||||
mixins: [
|
||||
|
@ -2,8 +2,8 @@ var React = require('react');
|
||||
var Reflux = require('reflux');
|
||||
var _ = require('lodash');
|
||||
|
||||
var channelStore = require('../stores/channel.js');
|
||||
var selectedTabStore = require('../stores/selectedTab.js');
|
||||
var channelStore = require('../stores/channel');
|
||||
var selectedTabStore = require('../stores/selectedTab');
|
||||
|
||||
var UserList = React.createClass({
|
||||
mixins: [
|
||||
|
@ -1,7 +1,7 @@
|
||||
var Reflux = require('reflux');
|
||||
var _ = require('lodash');
|
||||
|
||||
var actions = require('../actions/channel.js');
|
||||
var actions = require('../actions/channel');
|
||||
|
||||
var channels = {};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
var Reflux = require('reflux');
|
||||
|
||||
var actions = require('../actions/message.js');
|
||||
var serverStore = require('../stores/server');
|
||||
var actions = require('../actions/message');
|
||||
|
||||
var messages = {};
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
var Reflux = require('reflux');
|
||||
var _ = require('lodash');
|
||||
|
||||
var actions = require('../actions/tab.js');
|
||||
var channelActions = require('../actions/channel.js');
|
||||
var actions = require('../actions/tab');
|
||||
var channelActions = require('../actions/channel');
|
||||
|
||||
var selectedTab = {};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
var Reflux = require('reflux');
|
||||
|
||||
var actions = require('../actions/server.js');
|
||||
var actions = require('../actions/server');
|
||||
|
||||
var servers = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user