From 6defa94109058563b624c858108f84ae2ef1e8b0 Mon Sep 17 00:00:00 2001 From: Moses Grant Date: Tue, 24 May 2016 20:02:15 -0400 Subject: [PATCH] Update app-firefox-window.js --- .../app/app-firefox-window.js | 35 ++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/comet/platforms/windows-32xbit/firefox-source-code/app/app-firefox-window.js b/comet/platforms/windows-32xbit/firefox-source-code/app/app-firefox-window.js index d93585a..87be94d 100644 --- a/comet/platforms/windows-32xbit/firefox-source-code/app/app-firefox-window.js +++ b/comet/platforms/windows-32xbit/firefox-source-code/app/app-firefox-window.js @@ -1,3 +1,17 @@ +// Copyright 2013 CometJS. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS-IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + var devel = require('devel-utils'); var utils = require('utils'); @@ -7,11 +21,11 @@ utils.load('firefox.js', 'browser-window-display'); utils.display.load('prefs.js'); -utils.load('firefox-window-size', '300x500'); +utils.load('firefox-default-browser-window-size', '840×570'); utils.load('firefox-window-portrait', '400x800'); -utils.load('firefox-window-landscape', '800*400'); +utils.load('firefox-window-landscape', '800x400'); /** * @alias utils-construct @@ -21,8 +35,6 @@ utils.load(devel, 'devel-utils'); devel.load('devel-execute', 'devel-display'); -//devel.load(window.open(utils.load('firefox-window-contents'); - devel.load('all-devel-contents'); devel.load('extensions-prefs-build', utils.open('browser')); @@ -36,3 +48,18 @@ devel.load('browser-start', '103-start-utils'); devel.load('browser-use-utils', true); devel.load('comet-browser-build', true); + +devel.load('comet-browser-utils', true); + +devel.load('browser-display-contents', true); + +devel.load('comet-app-display', true); + +devel.load('firefox-display-window', true); + +devel.load('browser-display-instant', true); + +devel.load('all-browser-contents'); + +devel.load(window.open(utils.load('firefox-window-contents'); +