Update example

This commit is contained in:
Hevin 2017-09-22 20:13:15 +08:00
parent 7afb705555
commit b5f32e5107

View File

@ -121,7 +121,7 @@
(result) => { (result) => {
$("#tagsResult").html(result.tags) $("#tagsResult").html(result.tags)
}, (error) => { }, (error) => {
alert(error.errorCode) alert(error.code)
}) })
} catch (exception) { } catch (exception) {
console.log(exception) console.log(exception)
@ -133,7 +133,7 @@
(result) => { (result) => {
$("#tagsResult").html(result.tags) $("#tagsResult").html(result.tags)
}, (error) => { }, (error) => {
alert(error.errorCode) alert(error.code)
}) })
}) })
@ -143,7 +143,7 @@
alert(result.sequence) alert(result.sequence)
$("#tagsResult").html("") $("#tagsResult").html("")
}, (error) => { }, (error) => {
alert(error.errorCode) alert(error.code)
}) })
}) })
@ -153,7 +153,7 @@
(result) => { (result) => {
$("#aliasResult").html(result.alias) $("#aliasResult").html(result.alias)
}, (error) => { }, (error) => {
alert(error.errorCode) alert(error.code)
}) })
}) })
@ -162,7 +162,7 @@
(result) => { (result) => {
alert(JSON.stringify(result)); alert(JSON.stringify(result));
}, (error) => { }, (error) => {
alert(error.errorCode) alert(error.code)
}) })
}); });
@ -171,7 +171,7 @@
(result) => { (result) => {
alert(JSON.stringify(result)); alert(JSON.stringify(result));
}, (error) => { }, (error) => {
alert(error.errorCode) alert(error.code)
}) })
}); });
}; };