ClojureScript

Support `:foreign-libs` without `:file` to allow use of `:global-exports` already provided by the webpage

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:

Description

It would be useful to be able to use `:foreign-libs` even when a library is already globally available on a page.

<script src="https://apis.google.com/js/platform.js"></script>
{:foreign-libs
 [{:provides ["google.api"]
   :global-exports {google.api gapi}}]}

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: