From 27be89297cee1034b45800a7b6811b530e51b59e Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Tue, 9 Jan 2018 14:19:17 +0200 Subject: [PATCH] Update 0.8-upgrade.md --- docs/0.8-upgrade.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/0.8-upgrade.md b/docs/0.8-upgrade.md index c24b5af..be7c505 100644 --- a/docs/0.8-upgrade.md +++ b/docs/0.8-upgrade.md @@ -38,7 +38,10 @@ it should be possible to override the Cljsjs foreign-libs, while still using ext [{:file "empty.js", :provides ["react" "react-dom" "create-react-class" "react-dom/server"], :requires [], - :global-exports '{react React, react-dom ReactDOM, create-react-class createReactClass, react-dom/server ReactDOMServer}}] + :global-exports {react React + react-dom ReactDOM + create-react-class createReactClass + react-dom/server ReactDOMServer}}] ``` You'll also need to create the mentioned `empty.js` file (FIXME: relative to `project.clj`?).