Files
brave-core/components/common/loadTimeData.js
T
Mikhail 3a8b0e3288 Fix eslint config (#33746)
The PR:
* Reengineering eslint.config.js to properly extending the existing plugins and configs.
   It also implies disabling a bunch of broken rules.
* Adds running eslint for all brave files in `npm run presubmit -- --all`.
* Also enables eslint check for all *.js files
2026-02-11 13:37:02 +04:00

9 lines
498 B
JavaScript

// Copyright (c) 2021 The Brave Authors. All rights reserved.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
if (!window.loadTimeData) {
console.error('window.loadTimeData was not found. Make sure you include strings.m.js or load_time_data.m.js directly. Perhaps there is a timing issue?')
}
export const loadTimeData = window.loadTimeData