This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-14
Channels
- # admin-announcements (2)
- # beginners (8)
- # boot (75)
- # clara (2)
- # cljs-dev (3)
- # cljsjs (39)
- # cljsrn (1)
- # clojure (75)
- # clojure-brasil (3)
- # clojure-dusseldorf (13)
- # clojure-gamedev (1)
- # clojure-mexico (1)
- # clojure-quebec (5)
- # clojure-russia (30)
- # clojure-sg (3)
- # clojure-spec (25)
- # clojure-uk (65)
- # clojurescript (36)
- # core-async (1)
- # cursive (15)
- # data-science (6)
- # datomic (38)
- # devcards (29)
- # editors (1)
- # emacs (11)
- # funcool (6)
- # hoplon (43)
- # immutant (48)
- # lambdaisland (2)
- # leiningen (9)
- # mental-health (4)
- # mount (1)
- # numerical-computing (1)
- # off-topic (4)
- # om (19)
- # onyx (1)
- # pedestal (1)
- # proton (1)
- # re-frame (21)
- # reagent (1)
- # specter (8)
- # sql (3)
- # testing (14)
- # untangled (9)
- # yada (31)
@adamw: Have a look at this file: https://github.com/cljsjs/packages/blob/master/pdfjs/build.boot
I agree. So I can generate a better extern using http://www.dotnetwise.com/Code/Externs/
I looked at the API: https://github.com/mozilla/pdf.js/blob/master/src/display/api.js
yeah - that's in https://github.com/mozilla/pdf.js/blob/8aa5901c205465f781c864c6f4e40d171b025658/web/pdf_viewer.component.js
so this is the thing - if I look at the build/ distribution I don't see how that gets included
all the definitions are in web/viewer.js but I don't see where it extends the PDFJS namespace in the dist package
This is where we are picking files for the zip and packaging them: https://github.com/cljsjs/packages/blob/master/pdfjs/build.boot#L23
ok I can try and make a pull request and create a new dist for https://github.com/mozilla/pdf.js/releases/tag/v1.5.188
any one explain me about :extern compiler option, it means which code to wrote in externs.js file
and how to call in .cljs file