Rev 1028 | Rev 1040 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1028 | Rev 1034 | ||
|---|---|---|---|
| Line 106... | Line 106... | ||
| 106 | node.reset(); |
106 | node.reset(); |
| 107 | } |
107 | } |
| 108 | 108 | ||
| 109 | var ProgrammingClientId = null; |
109 | var ProgrammingClientId = null; |
| 110 | 110 | ||
| 111 | function programNodeCallback(status, event, text) |
111 | function programNodeCallback(status, event, text, raw) |
| - | 112 | { |
|
| - | 113 | if (raw) |
|
| - | 114 | { |
|
| - | 115 | printTo(ProgrammingClientId, text); |
|
| - | 116 | } |
|
| - | 117 | else |
|
| 112 | { |
118 | { |
| 113 | printTo(ProgrammingClientId, event + ": " + text + "\n"); |
119 | printTo(ProgrammingClientId, event + ": " + text + "\n"); |
| - | 120 | } |
|
| 114 | } |
121 | } |
| 115 | 122 | ||
| 116 | function programNode(hardwareId, hexData, bios) |
123 | function programNode(hardwareId, hexData, bios) |
| 117 | { |
124 | { |
| 118 | ProgrammingClientId = ClientId; |
125 | ProgrammingClientId = ClientId; |