📄 signals.min.js
¶
📊 Analysis Summary¶
Metric | Count |
---|---|
🔧 Functions | 47 |
📊 Variables & Constants | 6 |
📚 Table of Contents¶
🛠️ File Location:¶
📂 editor/js/libs/signals.min.js
Variables & Constants¶
Name | Type | Kind | Value | Exported |
---|---|---|---|---|
a |
this |
let/var | this |
✗ |
b |
any |
let/var | *not shown* |
✗ |
b |
number |
let/var | this._bindings.length |
✗ |
c |
number |
let/var | this._bindings.length |
✗ |
d |
any |
let/var | *not shown* |
✗ |
f |
typeof e |
let/var | e |
✗ |
Functions¶
h(a: any, b: any, c: any, d: any, e: any): void
¶
Parameters:
a
any
b
any
c
any
d
any
e
any
Returns: void
Code
g(a: any, b: any): void
¶
Parameters:
a
any
b
any
Returns: void
Calls:
Error
"listener is a required param of {fn}() and should be a Function.".replace
Code
e(): void
¶
Returns: void
Calls:
e.prototype.dispatch.apply
Code
execute(a: any): any
¶
Parameters:
a
any
Returns: any
Calls:
this.params.concat
this._listener.apply
this.detach
Code
detach(): any
¶
Returns: any
Calls:
this.isBound
this._signal.remove
isBound(): boolean
¶
Returns: boolean
isOnce(): any
¶
Returns: any
getListener(): any
¶
Returns: any
getSignal(): any
¶
Returns: any
_destroy(): void
¶
Returns: void
toString(): string
¶
Returns: string
Calls:
this.isBound
Code
execute(a: any): any
¶
Parameters:
a
any
Returns: any
Calls:
this.params.concat
this._listener.apply
this.detach
Code
detach(): any
¶
Returns: any
Calls:
this.isBound
this._signal.remove
isBound(): boolean
¶
Returns: boolean
isOnce(): any
¶
Returns: any
getListener(): any
¶
Returns: any
getSignal(): any
¶
Returns: any
_destroy(): void
¶
Returns: void
toString(): string
¶
Returns: string
Calls:
this.isBound
Code
_registerListener(a: any, b: any, c: any, d: any): any
¶
Parameters:
a
any
b
any
c
any
d
any
Returns: any
Calls:
this._indexOfListener
a.isOnce
Error
this._addBinding
a.execute
Code
function(a,b,c,d){var e=this._indexOfListener(a,c);if(e!==-1){if(a=this._bindings[e],a.isOnce()!==b)throw Error("You cannot add"+(b?"":"Once")+"() then add"+(!b?"":"Once")+"() the same listener without removing the relationship first.");}else a=new h(this,a,b,c,d),this._addBinding(a);this.memorize&&this._prevParams&&a.execute(this._prevParams);return a}
_addBinding(a: any): void
¶
Parameters:
a
any
Returns: void
Calls:
this._bindings.splice
Code
_indexOfListener(a: any, b: any): number
¶
Parameters:
a
any
b
any
Returns: number
Code
has(a: any, b: any): boolean
¶
Parameters:
a
any
b
any
Returns: boolean
Calls:
this._indexOfListener
add(a: any, b: any, c: any): any
¶
Parameters:
a
any
b
any
c
any
Returns: any
Calls:
g
this._registerListener
addOnce(a: any, b: any, c: any): any
¶
Parameters:
a
any
b
any
c
any
Returns: any
Calls:
g
this._registerListener
remove(a: any, b: any): any
¶
Parameters:
a
any
b
any
Returns: any
Calls:
g
this._indexOfListener
this._bindings[c]._destroy
this._bindings.splice
Code
removeAll(): void
¶
Returns: void
Calls:
this._bindings[a]._destroy
Code
getNumListeners(): number
¶
Returns: number
halt(): void
¶
Returns: void
dispatch(a: any): void
¶
Parameters:
a
any
Returns: void
Calls:
Array.prototype.slice.call
this._bindings.slice
d[c].execute
Code
forget(): void
¶
Returns: void
dispose(): void
¶
Returns: void
Calls:
this.removeAll
toString(): string
¶
Returns: string
Calls:
this.getNumListeners
_registerListener(a: any, b: any, c: any, d: any): any
¶
Parameters:
a
any
b
any
c
any
d
any
Returns: any
Calls:
this._indexOfListener
a.isOnce
Error
this._addBinding
a.execute
Code
function(a,b,c,d){var e=this._indexOfListener(a,c);if(e!==-1){if(a=this._bindings[e],a.isOnce()!==b)throw Error("You cannot add"+(b?"":"Once")+"() then add"+(!b?"":"Once")+"() the same listener without removing the relationship first.");}else a=new h(this,a,b,c,d),this._addBinding(a);this.memorize&&this._prevParams&&a.execute(this._prevParams);return a}
_addBinding(a: any): void
¶
Parameters:
a
any
Returns: void
Calls:
this._bindings.splice
Code
_indexOfListener(a: any, b: any): number
¶
Parameters:
a
any
b
any
Returns: number
Code
has(a: any, b: any): boolean
¶
Parameters:
a
any
b
any
Returns: boolean
Calls:
this._indexOfListener
add(a: any, b: any, c: any): any
¶
Parameters:
a
any
b
any
c
any
Returns: any
Calls:
g
this._registerListener
addOnce(a: any, b: any, c: any): any
¶
Parameters:
a
any
b
any
c
any
Returns: any
Calls:
g
this._registerListener
remove(a: any, b: any): any
¶
Parameters:
a
any
b
any
Returns: any
Calls:
g
this._indexOfListener
this._bindings[c]._destroy
this._bindings.splice
Code
removeAll(): void
¶
Returns: void
Calls:
this._bindings[a]._destroy
Code
getNumListeners(): number
¶
Returns: number
halt(): void
¶
Returns: void
dispatch(a: any): void
¶
Parameters:
a
any
Returns: void
Calls:
Array.prototype.slice.call
this._bindings.slice
d[c].execute
Code
forget(): void
¶
Returns: void
dispose(): void
¶
Returns: void
Calls:
this.removeAll
toString(): string
¶
Returns: string
Calls:
this.getNumListeners