3
0
mirror of https://github.com/cytodev/LightDMMock.git synced 2024-11-24 23:19:49 +01:00

Update module loading

This commit is contained in:
Roel Walraven 2017-02-24 14:22:31 +01:00
parent 91667b64c2
commit f326ae92aa

View File

@ -676,6 +676,14 @@ LightDMMock.watch('timed_login_delay', function() {
window.deprecationNotifier("property", "timed_login_delay", "lightdm.autologin_timeout"); window.deprecationNotifier("property", "timed_login_delay", "lightdm.autologin_timeout");
}); });
if (module) {
/******************************************************************************
* Module loading *
******************************************************************************/
/* jshint node : true */
if(typeof module !== "undefined" && module.exports)
module.exports = LightDMMock; module.exports = LightDMMock;
}
/* jshint node : false */