tab.js 481 B

12345678910111213141516171819
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  4. 'use strict';
  5. module.metadata = {
  6. 'stability': 'unstable',
  7. 'engines': {
  8. 'Firefox': '*',
  9. 'Fennec': '*'
  10. }
  11. };
  12. if (require('../system/xul-app').name == 'Fennec') {
  13. module.exports = require('./tab-fennec');
  14. }
  15. else {
  16. module.exports = require('./tab-firefox');
  17. }