Allow deps.cljs to declare a foreign lib as remote

Description

When using things like the Google Maps JS API [1] the Javascript that is required can't be bundled inside a jar as it depends on the used API key.

To be able to provide externs for those kind of libraries there should be a way to declare them as "remote" in deps.cljs.

[1] https://developers.google.com/maps/documentation/javascript/tutorial

Environment

None

Activity

Show:
Mike Fikes
November 20, 2017, 2:05 AM

Patch no longer applies.

Nathan Dao
April 9, 2017, 12:43 AM

js_deps.cljs deliberately only allows upstream foreign-libs (defined in deps.cljs file) to be local file. Yet, this issue is still open, so I (hastily ) assume the local file enforcement was not intentional.

The patch should add back support for using url as foreign-libs in deps.cljs and remove unused codes in load-foreign-library*.

Assignee

Unassigned

Reporter

Martin Klepsch

Labels

None

Approval

None

Patch

Code

Priority

Trivial