Fork me on GitHub
#cljsjs
<
2016-11-23
>
chrisetheridge07:11:59

if i want to make a cljsjs package, for a script that is not downloaded (for instance, the youtube iFrame API: https://developers.google.com/youtube/iframe_api_reference) how exactly would i do that?

chrisetheridge07:11:11

the externs.js file i have works perfectly. so i want to package it for others

martinklepsch07:11:32

@biscuitpants take a look at the stripe package, basically same situation I think

martinklepsch07:11:51

@biscuitpants basically you can make packages that only have an externs file and don't add any JS to the build

chrisetheridge07:11:02

okay great. that’s pretty much what i want to do

martinklepsch07:11:12

Will be easy 🙂

chrisetheridge07:11:20

and, if i’m adding 2 externs. should i do 2 separate PR’s, or just one?

martinklepsch07:11:44

as in two packages?

chrisetheridge07:11:54

YoutubeApi and Vimeo

martinklepsch07:11:07

make it two PRs then I'd say

martinklepsch07:11:16

not super important though I guess

chrisetheridge07:11:29

i don’t mind either, its up to how you guys manage the repo