In google chrome I get this error, but I can't understand what causes it
The PhotoFloate.getJsonFile()
function correctly returns a promise.
The promise has its .catch()
code.
Why is that error thrown in line 395?
The reason was that promise.then()
wants two arguments, the resolve() function and the reject() one.
I only had the resolve() one.