Updated file-based example

feature/109
Christoph Oberhofer 9 years ago
parent 5c2295e103
commit be70d72e0b

@ -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();

@ -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();

Loading…
Cancel
Save