This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-30
Channels
- # aws (5)
- # aws-lambda (2)
- # beginners (29)
- # boot (5)
- # cider (3)
- # cljs-dev (3)
- # cljsjs (2)
- # clojure (112)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-italy (9)
- # clojure-nl (2)
- # clojure-russia (5)
- # clojure-spec (49)
- # clojure-uk (41)
- # clojurescript (157)
- # core-logic (5)
- # crypto (1)
- # cursive (12)
- # data-science (38)
- # datomic (31)
- # emacs (3)
- # events (2)
- # garden (3)
- # graphql (10)
- # immutant (4)
- # jobs (3)
- # juxt (5)
- # klipse (1)
- # luminus (3)
- # off-topic (40)
- # om (1)
- # onyx (39)
- # other-languages (7)
- # protorepl (3)
- # re-frame (40)
- # reagent (60)
- # ring (8)
- # ring-swagger (14)
- # shadow-cljs (159)
- # spacemacs (1)
- # specter (6)
- # uncomplicate (3)
- # yada (2)
Hello guys! This is the first time i tried making google closure externs and using them with :advanced compilation. My extern javascript file has a constructor called CrossStorageClient with some prototype functions. My ext.js looks like this: var CrossStorageClient = { "_generateUUID": function () {}, "_getOrigin": function () {}, }; CrossStorageClient.prototype = { "clear": function () {}, "close": function () {}, ... etc I achieved that now closure doesnt rename any functions in my extern js in advanced mode, I can def (def storage (new js/CrossStorageClient "http://...")) but then if i tries to call (.close storage) closure renames storage and .close too Sorry as i said im pretty noob to the closure compiler. What is the point here? any help is appreciated my fellow Clojurians!