mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 07:21:50 +08:00
change exception name
This commit is contained in:
parent
f46fc7a22d
commit
3e32dbdb57
@ -23,7 +23,7 @@ class Loader{
|
|||||||
var parsed = JSON.parse(resp)
|
var parsed = JSON.parse(resp)
|
||||||
versionLink.setAttribute("href", "https://github.com/bui/taiko-web/commit/" + parsed.commit)
|
versionLink.setAttribute("href", "https://github.com/bui/taiko-web/commit/" + parsed.commit)
|
||||||
versionLink.appendChild(document.createTextNode("taiko-web ver." + parsed.version + " (" + parsed.commit_short + ")"))
|
versionLink.appendChild(document.createTextNode("taiko-web ver." + parsed.version + " (" + parsed.commit_short + ")"))
|
||||||
} catch(SyntaxError) {
|
} catch(e) {
|
||||||
versionLink.setAttribute("href", "https://github.com/bui/taiko-web")
|
versionLink.setAttribute("href", "https://github.com/bui/taiko-web")
|
||||||
versionLink.appendChild(document.createTextNode("taiko-web (unknown version)"))
|
versionLink.appendChild(document.createTextNode("taiko-web (unknown version)"))
|
||||||
} finally {
|
} finally {
|
||||||
|
Loading…
Reference in New Issue
Block a user