Rev 1603 | Rev 1607 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1603 | Rev 1604 | ||
|---|---|---|---|
| Line -... | Line 1... | ||
| - | 1 | ||
| - | 2 | var legacy = false; |
|
| 1 | 3 | ||
| 2 | function Start() |
4 | function Start() |
| - | 5 | { |
|
| - | 6 | if (legacy) |
|
| - | 7 | { |
|
| - | 8 | LoadScript("legacy/System/Base.js"); |
|
| - | 9 | LoadScript("legacy/System/Startup.js"); |
|
| - | 10 | LoadScript("legacy/Autostart.js"); |
|
| - | 11 | } |
|
| - | 12 | else |
|
| 3 | { |
13 | { |
| 4 | LoadScript("user/autostart.js"); |
14 | LoadScript("user/autostart.js"); |
| - | 15 | } |
|
| 5 | } |
16 | } |
| 6 | 17 | ||
| 7 | function Extend(descendant, parent) |
18 | function Extend(descendant, parent) |
| 8 | { |
19 | { |
| 9 | var s_constructor = parent.toString(); |
20 | var s_constructor = parent.toString(); |