mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Removed image extension validation from image-cache. Images with no extensions can now be loaded.
This commit is contained in:
@@ -13,7 +13,6 @@ export function test_DummyTestForSnippetOnly() {
|
||||
// ### Requesting Images
|
||||
// ``` JavaScript
|
||||
var cache = new imageCacheModule.Cache();
|
||||
cache.invalid = imageSource.fromFile(fs.path.join(__dirname, "res/reddit-logo.png"));
|
||||
cache.placeholder = imageSource.fromFile(fs.path.join(__dirname, "res/no-image.png"));
|
||||
cache.maxRequests = 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user