Import things at the right levels

This commit is contained in:
Kegan Dougal 2015-11-26 13:49:39 +00:00
parent 7846d49403
commit 1dc4e14606
3 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
'use strict';
var MatrixClientPeg = require('matrix-react-sdk/lib/MatrixClientPeg');
var MatrixClientPeg = require('./MatrixClientPeg');
module.exports = {
avatarUrlForMember: function(member, width, height, resizeMethod) {

View file

@ -17,8 +17,8 @@ limitations under the License.
'use strict';
var React = require('react');
var Avatar = require('../../Avatar');
var MatrixClientPeg = require('../../MatrixClientPeg');
var Avatar = require('../../../Avatar');
var MatrixClientPeg = require('../../../MatrixClientPeg');
module.exports = React.createClass({
displayName: 'MemberAvatar',

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
var React = require('react');
var MatrixClientPeg = require('../../MatrixClientPeg');
var MatrixClientPeg = require('../../../MatrixClientPeg');
module.exports = React.createClass({
displayName: 'RoomAvatar',