Updated the text module with ambient declaration.

This commit is contained in:
atanasovg
2014-06-03 10:40:01 +03:00
parent 36c1910cb2
commit 3fcb0e8e40
3 changed files with 11 additions and 9 deletions

View File

@ -1,5 +1,5 @@
import appModule = require("application");
import textModule = require("text/text");
import textModule = require("text");
export class FileSystemAccess {
private _pathSeparator = java.io.File.separator.toString();

View File

@ -1,6 +1,6 @@
import app_module = require("application");
import utilsModule = require("utils/utils_ios");
import textModule = require("text/text");
import textModule = require("text");
// TODO: Implement all the APIs receiving callback using async blocks
// TODO: Check whether we need try/catch blocks for the iOS implementation

4
text/text.d.ts vendored
View File

@ -1,7 +1,8 @@
/**
* Defines the supported character encodings.
*/
export declare module encoding {
declare module "text" {
export module encoding {
export var ISO_8859_1: any;
export var US_ASCII: any;
export var UTF_16: any;
@ -9,4 +10,5 @@ export declare module encoding {
export var UTF_16LE: any;
export var UTF_8: any;
}
}