Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/JLiscom/OpenNote
/ detachWindowUnload
Function
detachWindowUnload
openNote/controllers/noteController.js:218–220 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
216
* Remove window on-load listener
217
*/
218
var
detachWindowUnload =
function
() {
219
window.onbeforeunload = null;
220
};
221
222
//Load or new
223
if
(!$routeParams.id) {
//new
Callers
2
saveCallback
Function · 0.85
noteController.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected