Commit ffee0563 authored by Adrien Dorsaz's avatar Adrien Dorsaz

Components.utils.import() has changed to ChromeUtils.import(). The old form...

Components.utils.import() has changed to ChromeUtils.import(). The old form still works (but is slower)

Source:
https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57

Command:
```sh
git grep -l 'Cu.import' | xargs sed -i 's/Cu.import/ChromeUtils.import/g'
git grep -l 'ChromeUtils.importGlobalProperties' | xargs sed -i 's/ChromeUtils.importGlobalProperties/Cu.importGlobalProperties/g'
```
parent ec42538f
......@@ -26,14 +26,14 @@ 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) {
......
......@@ -26,14 +26,14 @@ 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;
......
......@@ -26,12 +26,12 @@ 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"];
......
......@@ -22,12 +22,12 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
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 = ["erFindContactsRequest"];
......
......@@ -26,12 +26,12 @@ 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"];
......
......@@ -26,12 +26,12 @@ 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"];
......
......@@ -26,12 +26,12 @@ 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"];
......
......@@ -26,11 +26,11 @@ 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 = [];
......
......@@ -24,8 +24,8 @@ 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}
......@@ -26,22 +26,22 @@ 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;
......
......@@ -26,24 +26,24 @@ 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() {
......
......@@ -24,12 +24,12 @@ 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() {
......
......@@ -37,12 +37,12 @@ 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");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.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://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/erForewardItem.js");
//if (! exchWebService) var exchWebService = {};
......
......@@ -31,8 +31,8 @@ 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 = {};
......
......@@ -2,7 +2,7 @@ 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;
......
......@@ -37,12 +37,12 @@ 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");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.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://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/erForewardItem.js");
//if (! exchWebService) var exchWebService = {};
......
......@@ -7,8 +7,8 @@ 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);
......
......@@ -9,20 +9,20 @@ 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");
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.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://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/erFindFolder.js");
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://exchangecalendar/erGetDelegateRequest.js");
ChromeUtils.import("resource://exchangecalendar/erAddDelegateRequest.js");
ChromeUtils.import("resource://exchangecalendar/erRemoveDelegateRequest.js");
ChromeUtils.import("resource://exchangecalendar/erUpdateDelegateRequest.js");
Cu.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
function exchDelegateCalendarSettings(aDocument, aWindow) {
this._document = aDocument;
......
......@@ -31,8 +31,8 @@ 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;
......
......@@ -31,8 +31,8 @@ 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 = {};
......
......@@ -9,16 +9,16 @@
var Cu = Components.utils;
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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
ChromeUtils.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
var EXPORTED_SYMBOLS = ["erAddDelegateRequest"];
......
......@@ -40,14 +40,14 @@ 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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
var EXPORTED_SYMBOLS = ["erCreateAttachmentRequest"];
......
......@@ -38,14 +38,14 @@ var Cc = Components.classes;
var Ci = Components.interfaces;
var Cu = Components.utils;
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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
var EXPORTED_SYMBOLS = ["erDeleteAttachmentRequest"];
......
......@@ -35,16 +35,16 @@
* ***** BEGIN LICENSE BLOCK *****/
var Cu = Components.utils;
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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
Cu.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
ChromeUtils.import("resource://exchangecommoninterfaces/xml2json/xml2json.js");
var EXPORTED_SYMBOLS = ["erFindCalendarItemsRequest"];
......
......@@ -36,14 +36,14 @@
var Cu = Components.utils;
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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
var EXPORTED_SYMBOLS = ["erFindFollowupItemsRequest"];
......
......@@ -42,14 +42,14 @@ 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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecFunctions.js");
ChromeUtils.import("resource://exchangecommon/ecExchangeRequest.js");
ChromeUtils.import("resource://exchangecommon/soapFunctions.js");
var EXPORTED_SYMBOLS = ["erFindMasterOccurrencesRequest"];
......
......@@ -36,18 +36,18 @@
var Cu = Components.utils;
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://calendar/modules/calUtils.jsm");
ChromeUtils.import("resource://calendar/modules/calUtils.jsm");
Cu.import("resource://exchangecommon/ecFunctions.js");
Cu.import("resource://exchangecommon/ecExchangeRequest.js");
Cu.import("resource://exchangecommon/soapFunctions.js");