10522 }),
10523 Toggle
10524 )
10525 })(Backbone.View)10526 typedoc.registerComponent(Toggle, 'a[data-toggle]')
10527})(typedoc || (typedoc = {})),
10528(function (typedoc) {
environment
array of .deepsource.toml
. Read more in our documentation https://deepsource.io/docs/analyzer/javascript10505 (Toggle.prototype.onDocumentPointerUp = function (e) {
10506 const _this = this
10507 if (!typedoc.hasPointerMoved && this.active) {
10508 const $path = $(e.target).parents().addBack()10509 if ($path.hasClass('col-menu')) {
10510 const $link = $path.filter('a')
10511 if ($link.length) {
environment
array of .deepsource.toml
. Read more in our documentation https://deepsource.io/docs/analyzer/javascript10496 }),
10497 (Toggle.prototype.onDocumentPointerDown = function (e) {
10498 if (this.active) {
10499 const $path = $(e.target).parents().addBack()10500 if ($path.hasClass('col-menu')) return
10501 if ($path.hasClass('tsd-filter-group')) return
10502 this.setActive(!1)
10451 }),
10452 Signature
10453 )
10454 })(Backbone.View)10455 typedoc.registerComponent(Signature, '.tsd-signatures')
10456})(typedoc || (typedoc = {})),
10457(function (typedoc) {
10445 }),
10446 (Signature.prototype.onClick = function (e) {
10447 const _this = this
10448 _(this.groups).forEach(function (group, index) {10449 group.$signature.is(e.currentTarget) && _this.setIndex(index)
10450 })
10451 }),
Variables that aren't defined, but accessed may throw reference errors at runtime.
NOTE: In browser applications, DeepSource recommends the use of ESModules over regular
text/javascript
scripts. Using variables that are injected by scripts included in an HTML file is currently not supported.
Potential ReferenceError
s may result from misspellings of variable and parameter names, or accidental implicit globals (for example, forgetting the var
keyword in a for
loop initializer).
Any reference to an undeclared variable causes a warning, unless the variable is explicitly mentioned in a /*global ...*/
comment, or specified in the globals key in the ESLint configuration file.
A common use case for these is if you intentionally use globals that are defined elsewhere (e.g. in a script sourced from HTML).
const foo = someFunction(); // `someFunction` is not defined
const bar = baz + 1; // 'baz' is undeclared
import { someFunction } from 'some-file';
const baz = Math.random();
const foo = someFunction();
const bar = baz + 1;