From 1d46ada0df89910d069fbd3d51474a8a831dcc83 Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Thu, 27 Mar 2014 11:04:24 +0200 Subject: [PATCH] index files added to all modules --- Application/index.ts | 2 ++ BCL.csproj | 8 ++++++++ Camera/index.ts | 2 ++ Console/index.ts | 2 ++ FileSystem/index.ts | 2 ++ Image/index.ts | 2 ++ Location/index.ts | 2 ++ UserPreferences/index.ts | 2 ++ WebClient/index.ts | 2 ++ WebClient/web_client.d.ts | 2 +- 10 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Application/index.ts create mode 100644 Camera/index.ts create mode 100644 Console/index.ts create mode 100644 FileSystem/index.ts create mode 100644 Image/index.ts create mode 100644 Location/index.ts create mode 100644 UserPreferences/index.ts create mode 100644 WebClient/index.ts diff --git a/Application/index.ts b/Application/index.ts new file mode 100644 index 000000000..0996e50e3 --- /dev/null +++ b/Application/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Application/application"); \ No newline at end of file diff --git a/BCL.csproj b/BCL.csproj index 7ee6cd1be..9ed99d4b3 100644 --- a/BCL.csproj +++ b/BCL.csproj @@ -137,6 +137,14 @@ + + + + + + + + console.d.ts diff --git a/Camera/index.ts b/Camera/index.ts new file mode 100644 index 000000000..3505e7e95 --- /dev/null +++ b/Camera/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Camera/camera"); \ No newline at end of file diff --git a/Console/index.ts b/Console/index.ts new file mode 100644 index 000000000..e4bd6c6a5 --- /dev/null +++ b/Console/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Console/console"); \ No newline at end of file diff --git a/FileSystem/index.ts b/FileSystem/index.ts new file mode 100644 index 000000000..c9093dbef --- /dev/null +++ b/FileSystem/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("FileSystem/file_system"); \ No newline at end of file diff --git a/Image/index.ts b/Image/index.ts new file mode 100644 index 000000000..e390041b0 --- /dev/null +++ b/Image/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Image/image"); \ No newline at end of file diff --git a/Location/index.ts b/Location/index.ts new file mode 100644 index 000000000..9a554aa9d --- /dev/null +++ b/Location/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("Location/location"); \ No newline at end of file diff --git a/UserPreferences/index.ts b/UserPreferences/index.ts new file mode 100644 index 000000000..d26af64aa --- /dev/null +++ b/UserPreferences/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("UserPreferences/user_preferences"); \ No newline at end of file diff --git a/WebClient/index.ts b/WebClient/index.ts new file mode 100644 index 000000000..5f7bab652 --- /dev/null +++ b/WebClient/index.ts @@ -0,0 +1,2 @@ +declare var module, require; +module.exports = require("WebClient/web_client"); \ No newline at end of file diff --git a/WebClient/web_client.d.ts b/WebClient/web_client.d.ts index d3fe2fce4..22b625121 100644 --- a/WebClient/web_client.d.ts +++ b/WebClient/web_client.d.ts @@ -3,7 +3,7 @@ */ import image_module = require("Image/image"); -declare class Client { +export declare class Client { private static get(url: string, successCallback: (result: any) => void, errorCallback?: (e: Error) => void) getString(url: string, successCallback: (result: string) => void, errorCallback?: (e: Error) => void) getJSON(url: string, successCallback: (result: Object) => void, errorCallback?: (e: Error) => void)