| 149 | } |
| 150 | |
| 151 | void NodeEditorApp::SyncFileSystem() |
| 152 | { |
| 153 | #ifdef __EMSCRIPTEN__ |
| 154 | // Don't forget to sync to make sure you store it to IndexedDB |
| 155 | EM_ASM( |
| 156 | FS.syncfs( false, function( err ) { |
| 157 | if (err) { |
| 158 | console.warn("Error saving:", err); |
| 159 | } |
| 160 | } ); |
| 161 | ); |
| 162 | #endif |
| 163 | } |
| 164 | |
| 165 | void NodeEditorApp::drawEvent() |
| 166 | { |
nothing calls this directly
no outgoing calls
no test coverage detected