namespaces removed (except Application)

This commit is contained in:
Vladimir Enchev
2014-03-24 11:16:38 +02:00
parent d5a91269f6
commit 1b6fdae4a9
29 changed files with 1930 additions and 2040 deletions

View File

@ -1,17 +1,11 @@
import image_module = require("Image/image");
/**
* Web (WebClient) module.
*/
export declare module tk {
export module web {
/**
* The Client interface.
*/
export 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)
getImage(url: string, successCallback: (result: image_module.tk.ui.Image) => void, errorCallback?: (e: Error) => void)
}
}
}
/**
* The Client interface.
*/
import image_module = require("Image/image");
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)
getImage(url: string, successCallback: (result: image_module.Image) => void, errorCallback?: (e: Error) => void)
}