Commit f53f7b0
committed
Refactor defaultHTML to accept options object
Convert defaultHTML from a constant string to a function that accepts
an options object for version and add-on library configuration. This
enables URL parameter parsing for library selection.
Maintains backward compatibility - calling defaultHTML() with no
arguments produces the same output as before.1 parent 07c9c71 commit f53f7b0
File tree
2 files changed
+30
-5
lines changed- client/modules/IDE/reducers
- server/domain-objects
2 files changed
+30
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
12 | 37 | | |
13 | 38 | | |
14 | | - | |
15 | | - | |
| 39 | + | |
16 | 40 | | |
17 | 41 | | |
18 | 42 | | |
| |||
24 | 48 | | |
25 | 49 | | |
26 | 50 | | |
| 51 | + | |
27 | 52 | | |
28 | 53 | | |
29 | 54 | | |
| |||
37 | 62 | | |
38 | 63 | | |
39 | 64 | | |
40 | | - | |
| 65 | + | |
41 | 66 | | |
42 | 67 | | |
43 | 68 | | |
| |||
0 commit comments