-
-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
@r0man — thank you for this wonderful library. I've been using it for 2+ years. I recently switched an app from figwheel to shadow-cljs, and now jsonp fails. Maybe because it uses a newer version of the Google Closure library?
I thought this might have had to do with the issue #124, which appears to be because of an interface change: " goog.net.Jsonp expect uri to be goog.html.TrustedResourceUrl (string of goog.Uri were valid before)".
Exact error from a browser REPL below — any advice would be much appreciated. Thanks in advance!!!
=> (cljs-http/jsonp "https://publish.twitter.com/oembed?url=https://twitter.com/realgenekim/status/1223341376475222020&omit_script=true")
TypeError: this.uri_.cloneWithParams is not a function
at goog.net.Jsonp.send (/js/iphone-compiled/cljs-runtime/goog.net.jsonp.js:65:23)
at Object.cljs_http$core$jsonp [as jsonp] (/js/iphone-compiled/cljs-runtime/cljs_http.core.js:326:23)
at cljs_http$core$request (/js/iphone-compiled/cljs-runtime/cljs_http.core.js:455:23)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:219:103)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:392:103)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:485:103)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:118:103)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:129:182)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:310:103)
at eval (/js/iphone-compiled/cljs-runtime/cljs_http.client.js:328:182)
Metadata
Metadata
Assignees
Labels
No labels