Rev 969 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 969 | Rev 970 | ||
|---|---|---|---|
| Line 123... | Line 123... | ||
| 123 | loadScript("System/ServiceManager.js"); |
123 | loadScript("System/ServiceManager.js"); |
| 124 | loadScript("System/CanMessage.js"); |
124 | loadScript("System/CanMessage.js"); |
| 125 | loadScript("System/CanManager.js"); |
125 | loadScript("System/CanManager.js"); |
| 126 | loadScript("System/CanService.js"); |
126 | loadScript("System/CanService.js"); |
| 127 | loadScript("System/Startup.js"); |
127 | loadScript("System/Startup.js"); |
| - | 128 | ||
| - | 129 | if (file_exists(basePath + "Autostart.js")) |
|
| - | 130 | { |
|
| 128 | loadScript("Autostart.js"); |
131 | loadScript("Autostart.js"); |
| - | 132 | } |
|
| 129 | 133 | ||
| 130 | myFunctionHandleHeartbeat = Handle<Function>::Cast(myContext->Global()->Get(String::New("handleHeartbeat"))); |
134 | myFunctionHandleHeartbeat = Handle<Function>::Cast(myContext->Global()->Get(String::New("handleHeartbeat"))); |
| 131 | myFunctionOfflineCheck = Handle<Function>::Cast(myContext->Global()->Get(String::New("offlineCheck"))); |
135 | myFunctionOfflineCheck = Handle<Function>::Cast(myContext->Global()->Get(String::New("offlineCheck"))); |
| 132 | myFunctionHandleMessage = Handle<Function>::Cast(myContext->Global()->Get(String::New("handleMessage"))); |
136 | myFunctionHandleMessage = Handle<Function>::Cast(myContext->Global()->Get(String::New("handleMessage"))); |
| 133 | myFunctionStartup = Handle<Function>::Cast(myContext->Global()->Get(String::New("startup"))); |
137 | myFunctionStartup = Handle<Function>::Cast(myContext->Global()->Get(String::New("startup"))); |