forked from mystiq/hydrogen-web
fix c/p error in disposables
This commit is contained in:
parent
abc99c2f0b
commit
e17fc57d9c
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
function disposeValue(value) {
|
function disposeValue(value) {
|
||||||
if (typeof d === "function") {
|
if (typeof value === "function") {
|
||||||
value();
|
value();
|
||||||
} else {
|
} else {
|
||||||
value.dispose();
|
value.dispose();
|
||||||
|
|
Loading…
Reference in a new issue