cfx
Version:
programmatically use cfx with node.js
20 lines (17 loc) • 482 B
JavaScript
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
;
module.metadata = {
'stability': 'stable',
'engines': {
'Firefox': '*',
'Fennec': '*'
}
};
if (require('./system/xul-app').is('Fennec')) {
module.exports = require('./windows/fennec');
}
else {
module.exports = require('./windows/firefox');
}