From 0b0fe92b1767771b1666c0c4e6fdd5a58b534be0 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 17 Dec 2019 12:51:09 -0700 Subject: [PATCH] Convert resizer to ES6 --- src/resizer/index.js | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/resizer/index.js b/src/resizer/index.js index bc4c8f388c..7c4b2bd493 100644 --- a/src/resizer/index.js +++ b/src/resizer/index.js @@ -1,5 +1,6 @@ /* Copyright 2018 New Vector Ltd +Copyright 2019 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,14 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import FixedDistributor from "./distributors/fixed"; -import CollapseDistributor from "./distributors/collapse"; -import RoomSubListDistributor from "./distributors/roomsublist"; -import Resizer from "./resizer"; - -module.exports = { - Resizer, - FixedDistributor, - CollapseDistributor, - RoomSubListDistributor, -}; +export FixedDistributor from "./distributors/fixed"; +export CollapseDistributor from "./distributors/collapse"; +export RoomSubListDistributor from "./distributors/roomsublist"; +export Resizer from "./resizer";