Rev 1614 | Rev 1625 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1614 | Rev 1619 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | 1 | ||
| 2 | var global_legacy = false; |
2 | var global_legacy = false; |
| - | 3 | ||
| - | 4 | LoadScript("common/json.js"); |
|
| 3 | 5 | ||
| 4 | function Start(legacy) |
6 | function Start(legacy) |
| 5 | { |
7 | { |
| 6 | global_legacy = legacy; |
8 | global_legacy = legacy; |
| 7 | 9 | ||
| Line 33... | Line 35... | ||
| 33 | { |
35 | { |
| 34 | descendant.prototype[m] = parent.prototype[m]; |
36 | descendant.prototype[m] = parent.prototype[m]; |
| 35 | } |
37 | } |
| 36 | } |
38 | } |
| 37 | 39 | ||
| 38 |
|
40 | function ArrayContains(array, item) |
| 39 | { |
41 | { |
| 40 | for (var n in |
42 | for (var n in array) |
| 41 | { |
43 | { |
| 42 | if ( |
44 | if (array[n] == item) |
| 43 | { |
45 | { |
| 44 | return true; |
46 | return true; |
| 45 | } |
47 | } |
| 46 | } |
48 | } |
| 47 | 49 | ||