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'; 'use strict';
var React = require('react');
var MatrixClientPeg = require("../../MatrixClientPeg"); var MatrixClientPeg = require("../../MatrixClientPeg");
module.exports = { module.exports = {
@ -51,8 +50,6 @@ module.exports = {
}, },
changeDisplayname: function(new_displayname) { changeDisplayname: function(new_displayname) {
var cli = MatrixClientPeg.get();
this.setState({ this.setState({
busy: true, busy: true,
errorString: null, errorString: null,

View file

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

View file

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

View file

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