unused code

This commit is contained in:
David Baker 2015-10-13 16:03:24 +01:00
parent 9e596ebb75
commit 02a2e06d52
4 changed files with 0 additions and 6 deletions

View file

@ -16,7 +16,6 @@ limitations under the License.
'use strict';
var React = require('react');
var MatrixClientPeg = require("../../MatrixClientPeg");
module.exports = {
@ -51,8 +50,6 @@ module.exports = {
},
changeDisplayname: function(new_displayname) {
var cli = MatrixClientPeg.get();
this.setState({
busy: true,
errorString: null,

View file

@ -16,7 +16,6 @@ limitations under the License.
'use strict';
var React = require("react");
var MatrixClientPeg = require("../../MatrixClientPeg");
var Cas = require("../../CasLogic");

View file

@ -26,7 +26,6 @@ module.exports = {
var cli = MatrixClientPeg.get();
var room = cli.getRoom(this.props.roomId);
if (!room) return { members: [] };
var all_members = room.currentState.members;
this.memberDict = this.getMemberDict();

View file

@ -18,7 +18,6 @@ var MatrixClientPeg = require("../../MatrixClientPeg");
var RoomListSorter = require("../../RoomListSorter");
var Presence = require("../../Presence");
var dis = require("../../dispatcher");
var q = require("q");
var sdk = require('../../index');
var MatrixTools = require('../../MatrixTools');