diff --git a/README.md b/README.md index 65e299f..c6e5029 100644 --- a/README.md +++ b/README.md @@ -134,8 +134,8 @@ A javascript library providing server defined loading of assets for a single pag FFSpaLoader.options.cache.cssData = false; if (FFSpaLoader.factory.detect.localStorage()) { - FFSpaLoader.options.cache.css = FFSpaLoader.factory.cache.localStorage; - FFSpaLoader.options.cache.cssData = FFSpaLoader.factory.cache.localStorage; + FFSpaLoader.options.cache.css = FFSpaLoader.factory.cache.localStorage(); + FFSpaLoader.options.cache.cssData = FFSpaLoader.factory.cache.localStorage(); } FFSpaLoader.options.server.assets = '/api/path/to/spa/client/resources'; FFSpaLoader.start();