Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #149 from shri-2015-org/hot-fix
Browse files Browse the repository at this point in the history
Hot fix
  • Loading branch information
pofigizm committed Oct 8, 2015
2 parents 062703a + 9e7a390 commit 8822c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/reducers.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function newMessage(room, action) {
...room.roomMessages,
[messageID]: {
...message,
attachments: [], // TODO may by get it from server??
status: 'confirmed',
index: room.orderedMessages.length, // ! appended to the end.
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
"lint": "eslint .",
"dev": "babel-node server/server.dev.js",
"prod": "npm run build; cd build; npm run start",
"build": "npm run lint; npm run test; bash build.sh",
"build": "npm run lint; bash build.sh",
"test": "npm run test-server; npm run test-common; npm run test-client",
"test-server": "mocha --compilers js:babel/register 'server/**/*.test.js'",
"test-common": "mocha --compilers js:babel/register 'common/**/*.test.js'",
"test-client": "mocha --compilers js:babel/register 'client/**/*.test.js'"
},
"dependencies": {
"babel": "5.8.23",
"babel-core": "5.8.25",
"babel-plugin-node-env-inline": "1.0.1",
"debug": "2.2.0",
"express": "4.13.3",
Expand All @@ -28,7 +29,6 @@
},
"devDependencies": {
"autoprefixer-loader": "3.1.0",
"babel-core": "5.8.25",
"babel-eslint": "4.1.3",
"babel-loader": "5.3.2",
"chai": "3.2.0",
Expand Down

0 comments on commit 8822c2b

Please sign in to comment.