two require fixed

This commit is contained in:
Vladimir Enchev
2014-05-14 11:39:53 +03:00
parent a45a55ae38
commit 8107211aee
2 changed files with 2 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
declare var module, require;
module.exports = require("fileSystem/file_system");
module.exports = require("filesystem/file_system");

View File

@@ -11,7 +11,7 @@ export function request(options: http.HttpRequestOptions): promises.Promise<http
var isImage = options.url.match(/\.(jpeg|jpg|gif|png)$/i) != null;
var context = require("Application/application").android.context;
var context = require("application").android.context;
if (isImage && options.method && options.method.toLowerCase() == "get") {
var request = com.koushikdutta.ion.Ion.with(context, options.url);