react-native-img-cache
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -101,3 +101,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
class SmartImageStore { | ||
class CachedImageStore { | ||
constructor() { | ||
@@ -142,22 +142,22 @@ this.handler = (path) => { | ||
observable | ||
], SmartImageStore.prototype, "_uri", void 0); | ||
], CachedImageStore.prototype, "_uri", void 0); | ||
__decorate([ | ||
observable | ||
], SmartImageStore.prototype, "_path", void 0); | ||
], CachedImageStore.prototype, "_path", void 0); | ||
__decorate([ | ||
observable | ||
], SmartImageStore.prototype, "_mutable", void 0); | ||
], CachedImageStore.prototype, "_mutable", void 0); | ||
__decorate([ | ||
computed | ||
], SmartImageStore.prototype, "uri", null); | ||
], CachedImageStore.prototype, "uri", null); | ||
__decorate([ | ||
computed | ||
], SmartImageStore.prototype, "path", null); | ||
], CachedImageStore.prototype, "path", null); | ||
__decorate([ | ||
computed | ||
], SmartImageStore.prototype, "mutable", null); | ||
], CachedImageStore.prototype, "mutable", null); | ||
let CachedImage = class CachedImage extends Component { | ||
constructor() { | ||
super(...arguments); | ||
this.store = new SmartImageStore(); | ||
this.store = new CachedImageStore(); | ||
} | ||
@@ -164,0 +164,0 @@ componentWillMount() { |
{ | ||
"name": "react-native-img-cache", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "CachedImage component for React native", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
27715
6
235