diff --git a/app/ns-ui-widgets-category/image-cache/basics/basics-ts-page.ts b/app/ns-ui-widgets-category/image-cache/basics/basics-ts-page.ts index 1ff93af..287c7eb 100644 --- a/app/ns-ui-widgets-category/image-cache/basics/basics-ts-page.ts +++ b/app/ns-ui-widgets-category/image-cache/basics/basics-ts-page.ts @@ -18,7 +18,7 @@ function cacheImage(viewModel) { cache.placeholder = ImageSource.fromFileSync("~/images/logo.png"); cache.maxRequests = 5; - // set the placeholder while the desired image is donwloaded + // set the placeholder while the desired image is downloaded viewModel.set("imageSource", cache.placeholder); // Enable download while not scrolling @@ -41,7 +41,7 @@ function cacheImage(viewModel) { completed: (image, key) => { if (url === key) { cachedImageSource = new ImageSource(image); - viewModel.set("imageSource", cachedImageSource); // set the downloaded iamge + viewModel.set("imageSource", cachedImageSource); // set the downloaded image } } });