You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# offline-persistence-toolkit 1.5.3 #
1
+
# offline-persistence-toolkit 1.5.4 #
2
2
3
3
offline-persistence-toolkit is a client-side JavaScript library that provides caching and offline support at the HTTP request layer. This support is transparent to the user and is done through the Fetch API and an XHR adapter. HTTP requests made while the client device is offline are captured for replay when connection to the server is restored. Additional capabilities include a persistent storage layer, synchronization manager, binary data support and various configuration APIs for customizing the default behavior. This framework can be used in both ServiceWorker and non-ServiceWorker contexts within web and hybrid mobile apps.
4
4
@@ -58,16 +58,16 @@ If your app uses [RequireJS](http://www.requirejs.org/ "RequireJS"), update the
58
58
```javascript
59
59
requirejs.config({
60
60
paths: {
61
-
'persist':'js/libs/persist/v1.5.3/min'
61
+
'persist':'js/libs/persist/v1.5.4/min'
62
62
63
63
// Other path mappings here
64
64
}
65
65
```
66
-
For Oracle JET apps, also open `appDir/src/js/main-release-paths.json` and add the `'persist':'js/libs/persist/v1.5.3/min'` entry to the list of paths.
66
+
For Oracle JET apps, also open `appDir/src/js/main-release-paths.json` and add the `'persist':'js/libs/persist/v1.5.4/min'` entry to the list of paths.
67
67
68
68
You can choose the name of the paths prefix. That is, you can use a different value to the ‘persist’ value shown in the examples.
69
69
70
-
It is recommended to add the version number as a convention in your application build step such as `'persist':'js/libs/persist/v1.5.3/min'`.
70
+
It is recommended to add the version number as a convention in your application build step such as `'persist':'js/libs/persist/v1.5.4/min'`.
71
71
72
72
Versions of the toolkit are also available on CDN under the latest JET release. e.g.
The toolkit makes heavy use of the [Promise API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise "Promise API"). If you are targeting environments that do not support the Promise API, you will need to polyfill this feature. We recommend the [es6-promise polyfill](https://github.com/stefanpenner/es6-promise "es6-promise polyfill").
81
81
82
-
The toolkit does not have a dependency on a specific client-side storage solution, but does include a PouchDB adapter. If you plan to use PouchDB for your persistent store, you will need to install the following PouchDB packages (This version of the toolkit is certified with version 7.0.0 of pouchdb and requires apps to use this version):
82
+
The toolkit does not have a dependency on a specific client-side storage solution, but does include a PouchDB adapter. If you plan to use PouchDB for your persistent store, you will need to install the following PouchDB packages (This version of the toolkit is certified with version 7.2.2 of pouchdb and requires apps to use this version):
83
83
84
84
npm install pouchdb pouchdb-find
85
85
@@ -89,9 +89,9 @@ And again, if you are using RequireJS, you will need to map paths for these pack
Please check out the [FixItFast sample app](http://www.oracle.com/webfolder/technetwork/jet/globalExamples-App-FixItFast-Demo.html "FixItFast sample app") to see the Offline Persistence Toolkit in action.
437
+
Please check out the [FixItFast sample app](http://www.oracle.com/webfolder/technetwork/jet/public_samples/FixItFast-Redwood/public_html/index.html "FixItFast sample app") to see the Offline Persistence Toolkit in action.
438
438
439
439
## Contributing ##
440
440
This is an open source project maintained by Oracle Corp. Pull Requests are currently not being accepted. See [CONTRIBUTING](https://github.com/oracle/offline-persistence-toolkit/tree/master/CONTRIBUTING.md "CONTRIBUTING") for details.
0 commit comments