Unverified Commit 61447b6d authored by Markus Weiland's avatar Markus Weiland Committed by GitHub

Merge pull request #228 from Trim/import-from-chromeutils

Import from chromeutils
parents a826b1d6 f75d916b
......@@ -22,18 +22,18 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/mailServices.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
Cu.import("resource://exchangecommon/erGetAttachments.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangecommon/erGetAttachments.js");
var photoHandlerInline = {
onLoad: function _onLoad(aCard, aDocument) {
......
......@@ -22,18 +22,18 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/mailServices.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
Cu.import("resource://exchangecommon/erGetAttachments.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangecommon/erGetAttachments.js");
function exchAddressbookOverlay(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -24,7 +24,7 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
function exchExchangeContactSettings(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -22,7 +22,7 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
......
......@@ -22,16 +22,16 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
var EXPORTED_SYMBOLS = ["erExpandDLRequest"];
......
......@@ -20,14 +20,14 @@
*
*
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
var EXPORTED_SYMBOLS = ["erFindContactsRequest"];
......
......@@ -22,16 +22,16 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
var EXPORTED_SYMBOLS = ["erGetContactsRequest"];
......
......@@ -22,16 +22,16 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
var EXPORTED_SYMBOLS = ["erResolveNames"];
......
......@@ -22,16 +22,16 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
var EXPORTED_SYMBOLS = ["erSyncContactsFolderRequest"];
......
......@@ -22,15 +22,15 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/iteratorUtils.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
var EXPORTED_SYMBOLS = [];
......
......@@ -20,12 +20,12 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
function mivExchangeAbCard() {
......
......@@ -20,26 +20,24 @@
*
*
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/mailServices.js");
Cu.import("resource:///modules/iteratorUtils.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
function exchangeAbDirFactory() {}
exchangeAbDirFactory.prototype = {
classID: components.ID("{e6f8074c-0236-4f51-b8e2-9c528727b4ee}"),
classID: Components.ID("{e6f8074c-0236-4f51-b8e2-9c528727b4ee}"),
contractID: "@mozilla.org/addressbook/directory-factory;1?name=exchWebService-contactRoot-directory",
classDescription: "Exchange 2007/2010 Contacts DirFactory",
......
......@@ -2,5 +2,3 @@ interfaces exchangeAbDirFactory.xpt
component {e6f8074c-0236-4f51-b8e2-9c528727b4ee} exchangeAbDirFactory.js
contract @mozilla.org/addressbook/directory-factory;1?name=exchWebService-contactRoot-directory {e6f8074c-0236-4f51-b8e2-9c528727b4ee}
......@@ -22,26 +22,26 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource:///modules/mailServices.js");
Cu.import("resource:///modules/iteratorUtils.jsm");
ChromeUtils.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
Cu.import("resource://exchangeaddress/erFindContacts.js");
Cu.import("resource://exchangeaddress/erGetContacts.js");
Cu.import("resource://exchangeaddress/erSyncContactsFolder.js");
Cu.import("resource://exchangeaddress/erExpandDL.js");
Cu.import("resource://exchangeaddress/erResolveNames.js");
ChromeUtils.import("resource://exchangeaddress/erFindContacts.js");
ChromeUtils.import("resource://exchangeaddress/erGetContacts.js");
ChromeUtils.import("resource://exchangeaddress/erSyncContactsFolder.js");
ChromeUtils.import("resource://exchangeaddress/erExpandDL.js");
ChromeUtils.import("resource://exchangeaddress/erResolveNames.js");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
const nsIAP = Ci.nsIActivityProcess;
const nsIAE = Ci.nsIActivityEvent;
......
......@@ -22,28 +22,28 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource:///modules/mailServices.js");
Cu.import("resource:///modules/iteratorUtils.jsm");
ChromeUtils.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
Cu.import("resource://exchangeaddress/erFindContacts.js");
Cu.import("resource://exchangeaddress/erGetContacts.js");
Cu.import("resource://exchangeaddress/erSyncContactsFolder.js");
Cu.import("resource://exchangeaddress/erExpandDL.js");
Cu.import("resource://exchangeaddress/erResolveNames.js");
ChromeUtils.import("resource://exchangeaddress/erFindContacts.js");
ChromeUtils.import("resource://exchangeaddress/erGetContacts.js");
ChromeUtils.import("resource://exchangeaddress/erSyncContactsFolder.js");
ChromeUtils.import("resource://exchangeaddress/erExpandDL.js");
ChromeUtils.import("resource://exchangeaddress/erResolveNames.js");
//Cu.import("resource://exchangeaddress/exchangeAbDistListDirectory.js");
//ChromeUtils.import("resource://exchangeaddress/exchangeAbDistListDirectory.js");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
const nsIAP = Ci.nsIActivityProcess;
const nsIAE = Ci.nsIActivityEvent;
......
......@@ -20,22 +20,21 @@
*
*
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource:///modules/mailServices.js");
Cu.import("resource:///modules/iteratorUtils.jsm");
ChromeUtils.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/iteratorUtils.jsm");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
//
// exchangeAbRootDirectory
......@@ -83,7 +82,7 @@ function exchangeAbRootDirectory() {
exchangeAbRootDirectory.prototype = {
classID: components.ID("{227664eb-cce6-4b7a-8d57-0bb0c6c9b362}"),
classID: Components.ID("{227664eb-cce6-4b7a-8d57-0bb0c6c9b362}"),
contractID: "@mozilla.org/addressbook/directory;1?type=exchWebService-contactRoot-directory",
classDescription: "Exchange 2007/2010 Contacts Root Directory",
......
......@@ -24,10 +24,10 @@ var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/mailServices.js");
function mivExchangeAutoCompleteResult() {
......
......@@ -20,16 +20,16 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource:///modules/mailServices.js");
ChromeUtils.import("resource:///modules/mailServices.js");
Cu.import("resource://exchangeaddress/exchangeAbFunctions.js");
ChromeUtils.import("resource://exchangeaddress/exchangeAbFunctions.js");
function mivExchangeAutoCompleteSearch() {
......
......@@ -35,7 +35,7 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
......
......@@ -35,14 +35,14 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
//Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/erForewardItem.js");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
//ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/erForewardItem.js");
//if (! exchWebService) var exchWebService = {};
......
......@@ -27,12 +27,12 @@
* the Initial Developer. All Rights Reserved.
*
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
var Ci = Components.interfaces;
var Cc = Components.classes;
Cu.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://gre/modules/Preferences.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://gre/modules/Preferences.jsm");
if (!exchWebService) var exchWebService = {};
......
var Cu = Components.utils;
var Ci = Components.interfaces;
var Cc = Components.classes;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
function exchCalendarEventDialog(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -27,7 +27,7 @@
* the Initial Developer. All Rights Reserved.
*
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
var Ci = Components.interfaces;
var Cc = Components.classes;
......
......@@ -35,14 +35,14 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/erForewardItem.js");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/erForewardItem.js");
//if (! exchWebService) var exchWebService = {};
......
......@@ -3,12 +3,12 @@
*/
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
var Cr = Components.results;
var components = Components;
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
const globalFunctions = Cc["@1st-setup.nl/global/functions;1"]
.getService(Ci.mivFunctions);
......
......@@ -7,22 +7,22 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/erFindFolder.js");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://exchangecalendar/erGetDelegateRequest.js");
Cu.import("resource://exchangecalendar/erAddDelegateRequest.js");
Cu.import("resource://exchangecalendar/erRemoveDelegateRequest.js");
Cu.import("resource://exchangecalendar/erUpdateDelegateRequest.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/erFindFolder.js");
Cu.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
ChromeUtils.import("resource://exchangecalendar/erGetDelegateRequest.js");
ChromeUtils.import("resource://exchangecalendar/erAddDelegateRequest.js");
ChromeUtils.import("resource://exchangecalendar/erRemoveDelegateRequest.js");
ChromeUtils.import("resource://exchangecalendar/erUpdateDelegateRequest.js");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
function exchDelegateCalendarSettings(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -36,7 +36,7 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
function exchCalendarCreation(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -27,12 +27,12 @@
* the Initial Developer. All Rights Reserved.
*
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
var Ci = Components.interfaces;
var Cc = Components.classes;
Cu.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
function exchangeEventDialog(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -29,10 +29,10 @@
var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
//Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://calendar/modules/calUtils.jsm");
//ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
//if (! exchWebService) var exchWebService = {};
......
......@@ -7,18 +7,18 @@
* http://www.gnu.org/licenses/gpl.html
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://gre/modules/XPCOMUtils.jsm");
ChromeUtils.import("resource://gre/modules/Services.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");