mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-20 15:34:26 +08:00
index files added to all modules
This commit is contained in:
2
Application/index.ts
Normal file
2
Application/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("Application/application");
|
@ -137,6 +137,14 @@
|
||||
<TypeScriptCompile Include="WebClient\web_client.d.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="WebClient\index.ts" />
|
||||
<TypeScriptCompile Include="UserPreferences\index.ts" />
|
||||
<TypeScriptCompile Include="Location\index.ts" />
|
||||
<TypeScriptCompile Include="Image\index.ts" />
|
||||
<TypeScriptCompile Include="FileSystem\index.ts" />
|
||||
<TypeScriptCompile Include="Console\index.ts" />
|
||||
<TypeScriptCompile Include="Camera\index.ts" />
|
||||
<TypeScriptCompile Include="Application\index.ts" />
|
||||
<Content Include="_references.ts" />
|
||||
<TypeScriptCompile Include="Console\console.android.ts">
|
||||
<DependentUpon>console.d.ts</DependentUpon>
|
||||
|
2
Camera/index.ts
Normal file
2
Camera/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("Camera/camera");
|
2
Console/index.ts
Normal file
2
Console/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("Console/console");
|
2
FileSystem/index.ts
Normal file
2
FileSystem/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("FileSystem/file_system");
|
2
Image/index.ts
Normal file
2
Image/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("Image/image");
|
2
Location/index.ts
Normal file
2
Location/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("Location/location");
|
2
UserPreferences/index.ts
Normal file
2
UserPreferences/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("UserPreferences/user_preferences");
|
2
WebClient/index.ts
Normal file
2
WebClient/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
declare var module, require;
|
||||
module.exports = require("WebClient/web_client");
|
2
WebClient/web_client.d.ts
vendored
2
WebClient/web_client.d.ts
vendored
@ -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)
|
||||
|
Reference in New Issue
Block a user