blob: 198e3658e74f326bc841cf60a104f582061f51d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* This file should only be included once. It will generate an assert error if
* it's included more than once, which can happen when an include is misspelled.
*/
import {assert} from 'chrome://resources/js/assert.m.js';
assert(
!window.defaultResourceLoaded,
'welcome.js run twice. You probably have an invalid import.');
/** Global defined when the main welcome script runs. */
window.defaultResourceLoaded = true;
|