From 098c165e8960e0eda324c5f5f54520e822d01f5f Mon Sep 17 00:00:00 2001 From: John Foerch Date: Sat, 13 Mar 2010 20:21:50 -0500 Subject: [PATCH] application.js: reorganizing --- components/application.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/application.js b/components/application.js index 9711b2b..ff3577c 100644 --- a/components/application.js +++ b/components/application.js @@ -38,6 +38,11 @@ application.prototype = { module_uri_prefix: "chrome://conkeror/content/", subscript_loader: Cc["@mozilla.org/moz/jssubscript-loader;1"].getService(Ci.mozIJSSubScriptLoader), preferences: Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService), + get version () { + var formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"] + .getService(Ci.nsIURLFormatter); + return formatter.formatURL("%VERSION%"); + }, dumpln: function (str) { dump(str); dump("\n"); @@ -134,11 +139,6 @@ application.prototype = { funcs.push(func); } }, - get version () { - var formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"] - .getService(Ci.nsIURLFormatter); - return formatter.formatURL("%VERSION%"); - }, /* nsISupports */ QueryInterface: XPCOMUtils.generateQI([]), -- 2.11.4.GIT