Updated file-based example

This commit is contained in:
Christoph Oberhofer
2016-05-26 11:40:18 +02:00
parent 5c2295e103
commit be70d72e0b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ var App = {
document.querySelector('input.isbn').value = result.codeResult.code;
})
.catch(function() {
console.log("Not found!");
document.querySelector('input.isbn').value = "Not Found";
})
.then(function() {
this.attachListeners();
+1 -1
View File
@@ -14,7 +14,7 @@ var App = {
document.querySelector('input.isbn').value = result.codeResult.code;
})
.catch(function() {
console.log("Not found!");
document.querySelector('input.isbn').value = "Not Found";
})
.then(function() {
this.attachListeners();