Fixed small bug in readme
This commit is contained in:
parent
e65d557b4f
commit
aab8cb7171
|
@ -134,8 +134,8 @@ A javascript library providing server defined loading of assets for a single pag
|
||||||
FFSpaLoader.options.cache.cssData = false;
|
FFSpaLoader.options.cache.cssData = false;
|
||||||
|
|
||||||
if (FFSpaLoader.factory.detect.localStorage()) {
|
if (FFSpaLoader.factory.detect.localStorage()) {
|
||||||
FFSpaLoader.options.cache.css = FFSpaLoader.factory.cache.localStorage;
|
FFSpaLoader.options.cache.css = FFSpaLoader.factory.cache.localStorage();
|
||||||
FFSpaLoader.options.cache.cssData = FFSpaLoader.factory.cache.localStorage;
|
FFSpaLoader.options.cache.cssData = FFSpaLoader.factory.cache.localStorage();
|
||||||
}
|
}
|
||||||
FFSpaLoader.options.server.assets = '/api/path/to/spa/client/resources';
|
FFSpaLoader.options.server.assets = '/api/path/to/spa/client/resources';
|
||||||
FFSpaLoader.start();
|
FFSpaLoader.start();
|
||||||
|
|
Loading…
Reference in a new issue