mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 21:26:10 +03:00
Unit test fixes.
This commit is contained in:
parent
8efad6f3a0
commit
796588ace2
@ -133,7 +133,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
viewer.addHandler('animation-finish', homeHandler);
|
viewer.addHandler('animation-finish', homeHandler);
|
||||||
viewer.goHome(true);
|
viewer.viewport.goHome(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
viewer.addHandler("open", opener);
|
viewer.addHandler("open", opener);
|
||||||
|
@ -134,6 +134,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testConsole.assert = function(condition, message) {
|
||||||
|
if (condition) {
|
||||||
|
testConsole.error(message);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
OpenSeadragon.console = testConsole;
|
OpenSeadragon.console = testConsole;
|
||||||
} )();
|
} )();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user