diff --git a/azure-mobile-services-client/AzureMobileServicesClient-tests.ts b/azure-mobile-services-client/AzureMobileServicesClient-tests.ts index b557a2baf2..f381c08092 100644 --- a/azure-mobile-services-client/AzureMobileServicesClient-tests.ts +++ b/azure-mobile-services-client/AzureMobileServicesClient-tests.ts @@ -32,8 +32,8 @@ tableTodoItems.read() //define simple handler used in callback calls for insert/update and delete -function handlerInsUpd(e, i) => { if (!e) data.push( i); }; -function handlerDelErr(e) => { if (e) alert("ERROR: " + e); } +function handlerInsUpd(e, i) { if (!e) data.push( i); }; +function handlerDelErr(e) { if (e) alert("ERROR: " + e); } //insert one data passing info in POST + custom data in QueryString + simple callback handler diff --git a/azure-mobile-services-client/AzureMobileServicesClient.d.ts b/azure-mobile-services-client/AzureMobileServicesClient.d.ts index 1dcf9e5a67..09d0efb7cb 100644 --- a/azure-mobile-services-client/AzureMobileServicesClient.d.ts +++ b/azure-mobile-services-client/AzureMobileServicesClient.d.ts @@ -3,7 +3,7 @@ // Definitions by: Morosinotto Daniele // Definitions: https://github.com/borisyankov/DefinitelyTyped -module Microsoft.WindowsAzure { +declare module Microsoft.WindowsAzure { // MobileServiceClient object based on Microsoft Azure documentation: http://msdn.microsoft.com/en-us/library/windowsazure/jj554219.aspx interface MobileServiceClient {