File tree 1 file changed +10
-3
lines changed
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
19
19
*** CLJS doesn't support anything but namespaces before the `/`
20
20
**** So minimal breakage likely
21
21
* `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
23
23
** Again `non-namespace/foo` never worked before
24
24
* Other considerations
25
25
** `^:param-tags`
@@ -28,7 +28,14 @@ ClojureScript 1.12 Dev Notes
28
28
** `goog.foo.Bar`
29
29
*** Users do sometimes depend on global access to Closure libs
30
30
*** 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 `/`
33
40
** `js/foo/bar`
34
41
*** Not supported
You can’t perform that action at this time.
0 commit comments