Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 591ccab

Browse files
committed
Remove a bunch of useless 'use strict' definitions
1 parent b12cf79 commit 591ccab

File tree

11 files changed

+0
-22
lines changed

11 files changed

+0
-22
lines changed

src/components/structures/EmbeddedPage.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ See the License for the specific language governing permissions and
1616
limitations under the License.
1717
*/
1818

19-
'use strict';
20-
2119
import React from 'react';
2220
import PropTypes from 'prop-types';
2321
import request from 'browser-request';

src/components/views/auth/AuthBody.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
'use strict';
18-
1917
import React from 'react';
2018

2119
export default class AuthBody extends React.PureComponent {

src/components/views/auth/AuthHeaderLogo.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
'use strict';
18-
1917
import React from 'react';
2018

2119
export default class AuthHeaderLogo extends React.PureComponent {

src/components/views/auth/CompleteSecurityBody.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
'use strict';
18-
1917
import React from 'react';
2018

2119
export default class CompleteSecurityBody extends React.PureComponent {

src/components/views/elements/Flair.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
limitations under the License.
1515
*/
1616

17-
'use strict';
18-
1917
import React from 'react';
2018
import PropTypes from 'prop-types';
2119
import FlairStore from '../../../stores/FlairStore';

src/components/views/messages/MAudioBody.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
limitations under the License.
1515
*/
1616

17-
'use strict';
18-
1917
import React from 'react';
2018
import MFileBody from './MFileBody';
2119

src/notifications/VectorPushRulesDefinitions.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ See the License for the specific language governing permissions and
1515
limitations under the License.
1616
*/
1717

18-
'use strict';
19-
2018
import { _td } from '../languageHandler';
2119
import {StandardActions} from "./StandardActions";
2220
import {PushRuleVectorState} from "./PushRuleVectorState";

src/notifications/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ See the License for the specific language governing permissions and
1515
limitations under the License.
1616
*/
1717

18-
'use strict';
19-
2018
export * from "./NotificationUtils";
2119
export * from "./PushRuleVectorState";
2220
export * from "./VectorPushRulesDefinitions";

src/utils/MegolmExportEncryption.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ See the License for the specific language governing permissions and
1515
limitations under the License.
1616
*/
1717

18-
"use strict";
19-
2018
// polyfill textencoder if necessary
2119
import * as TextEncodingUtf8 from 'text-encoding-utf-8';
2220
let TextEncoder = window.TextEncoder;

test/test-utils.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
"use strict";
2-
31
import React from 'react';
42
import {MatrixClientPeg as peg} from '../src/MatrixClientPeg';
53
import dis from '../src/dispatcher/dispatcher';

0 commit comments

Comments
 (0)