mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02: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