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

View File

@ -118,7 +118,7 @@ declare module "image-source" {
export function fromFileOrResource(path: string): ImageSource;
/**
* Returns true if the specified path points to a resource or local file.
* [Obsolete. Please use utils.isFileOrResourcePath instead!] Returns true if the specified path points to a resource or local file.
* @param path The path.
*/
export function isFileOrResourcePath(path: string): boolean