Added the iOS implementation of the FileSystem API.

This commit is contained in:
atanasovg
2014-04-23 18:48:28 +03:00
parent 322591d3ca
commit ce89af2643
7 changed files with 312 additions and 93 deletions

View File

@@ -346,7 +346,7 @@ export class FileSystemAccess {
}
}
public getFileExtension(path: string): string {
private getFileExtension(path: string): string {
var dotIndex = path.lastIndexOf(".");
if (dotIndex && dotIndex >= 0 && dotIndex < path.length) {
return path.substring(dotIndex);