File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ ClojureScript 1.12 Dev Notes
1919*** CLJS doesn't support anything but namespaces before the `/`
2020**** So minimal breakage likely
2121* `Classname/.instanceMethod` no precendent so also easy to handle
22- * `Classname/new` a special case so easy to handle
22+ * `Classname/new` a special case so easy to handle
2323** Again `non-namespace/foo` never worked before
2424* Other considerations
2525** `^:param-tags`
@@ -28,7 +28,14 @@ ClojureScript 1.12 Dev Notes
2828** `goog.foo.Bar`
2929*** Users do sometimes depend on global access to Closure libs
3030*** externs parsing can let us know if `/` should be allowed or not
31- ** if something is `:referred` etc.
32- *** Can also support `/`
31+ ** js$foo.bar
32+ *** A proposed enhancement to use global libraries as namespaces
33+ *** `js$foo.bar.Baz/staticMethod` when `js$foo.bar` not required
34+ **** it's not a great pattern to encourage
35+ ***** macros are a case where it can be useful
36+ ****** i.e. macro depends on a require that the user didn't provide
37+ ****** combining w/ js$ though seems gratuitous
38+ ** if something is `:refer`ed etc.
39+ *** Can easily support `/`
3340** `js/foo/bar`
3441*** Not supported
You can’t perform that action at this time.
0 commit comments