Commit 6950aff
CLJS-2746 Missing provides for JS modules
Prior to this change, JS modules are converted my writing a single
goog.provide statement that corresponds to the file path and name of the
module. The .getProvides method (of another module) may use a shorter
name and this means that the ClojureScript compiler can never find the
module by this shorter name.
This change emits a goog.provide statement for each name specified in
the provides list of the IJavaScriptFile.1 parent ec1e416 commit 6950aff
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1830 | 1830 | | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | | - | |
| 1833 | + | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | 1836 | | |
1837 | 1837 | | |
1838 | 1838 | | |
1839 | 1839 | | |
1840 | 1840 | | |
1841 | | - | |
| 1841 | + | |
| 1842 | + | |
1842 | 1843 | | |
1843 | 1844 | | |
1844 | 1845 | | |
| |||
1848 | 1849 | | |
1849 | 1850 | | |
1850 | 1851 | | |
1851 | | - | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
1852 | 1855 | | |
1853 | 1856 | | |
1854 | 1857 | | |
| |||
0 commit comments