isFileOrResourcePath and RESOURCE_PREFIX moved in utils

This commit is contained in:
Vladimir Enchev
2015-05-18 17:15:04 +03:00
parent cf30d73172
commit 6b71ea07b4
4 changed files with 25 additions and 13 deletions

8
utils/utils.d.ts vendored
View File

@ -2,6 +2,8 @@
import colorModule = require("color");
import view = require("ui/core/view");
export var RESOURCE_PREFIX: string;
/**
* Utility module related to layout.
*/
@ -132,4 +134,10 @@
* An utility function that invokes garbage collection on the JavaScript side.
*/
export function GC();
/**
* Returns true if the specified path points to a resource or local file.
* @param path The path.
*/
export function isFileOrResourcePath(path: string): boolean
}