modernize imports

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-06-15 19:57:48 +01:00
parent a0a4fe62d5
commit 4b34a2b169

View file

@ -14,13 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
var React = require('react');
var ReactDOM = require("react-dom");
var dis = require("../../dispatcher");
var sdk = require('../../index');
import React from 'react';
import ReactDOM from 'react-dom';
import dis from "../../dispatcher";
import sdk from '../../index';
var MatrixClientPeg = require('../../MatrixClientPeg');
const UserSettingsStore = require('../../UserSettingsStore');
import MatrixClientPeg from '../../MatrixClientPeg';
import UserSettingsStore from '../../UserSettingsStore';
const MILLIS_IN_DAY = 86400000;