Rev 1657 | Rev 1664 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1657 | Rev 1660 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | 40 | ||
| 41 | function Console_PromptResponse(client_id, response) |
41 | function Console_PromptResponse(client_id, response) |
| 42 | { |
42 | { |
| 43 | Console_LastClientId = client_id; |
43 | Console_LastClientId = client_id; |
| 44 | 44 | ||
| 45 | var parts = response.split |
45 | var parts = array_remove_empty(response.split(" ")); |
| 46 | 46 | ||
| 47 | var current_function = Console_CurrentFunction; |
47 | var current_function = Console_CurrentFunction; |
| 48 | Console_CurrentFunction = Console_Shell; |
48 | Console_CurrentFunction = Console_Shell; |
| 49 | 49 | ||
| 50 | var result = current_function.apply(null, Array.prototype.slice.call(parts, 0)); |
50 | var result = current_function.apply(null, Array.prototype.slice.call(parts, 0)); |