mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
43a44793c5
Also removed all hints of previous linters
15 lines
314 B
JavaScript
15 lines
314 B
JavaScript
/* global extension: false */
|
|
|
|
// eslint-disable-next-line func-names
|
|
(function() {
|
|
'use strict';
|
|
|
|
// Browser specific functions for Chrom*
|
|
window.extension = window.extension || {};
|
|
|
|
extension.windows = {
|
|
onClosed(callback) {
|
|
window.addEventListener('beforeunload', callback);
|
|
},
|
|
};
|
|
})();
|