diff --git a/dist/version b/dist/version index 836ae4eda..843f86353 100644 --- a/dist/version +++ b/dist/version @@ -1 +1 @@ -1.19.2 +1.19.4 diff --git a/src/js/assets.js b/src/js/assets.js index 286a43200..90ce0aa75 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -693,6 +693,10 @@ api.get = function(assetKey, options, callback) { } else if ( typeof callback !== 'function' ) { callback = noopfunc; } + // This can happen if the method was called as a thenable. + if ( options instanceof Object === false ) { + options = {}; + } return new Promise(resolve => { // start of executor