Skip to content

Commit c5a20c1

Browse files
committed
Updated to v.1.4.6
1 parent 54b899e commit c5a20c1

File tree

118 files changed

+18941
-21395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+18941
-21395
lines changed

Gruntfile.js

+31-1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,14 @@ module.exports = function (grunt) {
227227
}
228228
},
229229
copy: {
230+
oracle_logo: {
231+
files: [
232+
{expand: true,
233+
cwd: '<%= paths.config %>/oj',
234+
src: ['oracle_logo_sm.png'],
235+
dest: '<%= paths.docs %>'}
236+
]
237+
},
230238
dist_debug: {
231239
files: [
232240
{expand: true,
@@ -351,5 +359,27 @@ module.exports = function (grunt) {
351359
grunt.loadNpmTasks('grunt-string-replace');
352360

353361
// Default task.
354-
grunt.registerTask('build', ['clean:all', 'browserify', 'copy:dist_debug', 'copy:dist_ext_lib', 'copy:config_coverage', 'copy:test_coverage', 'copy:lib_coverage', 'eslint', 'copy:temp_debug', 'requirejs:compileBundles', 'requirejs:compileBundles_debug', 'run_java', 'rename', 'string-replace', 'copy:dist_bundles_debug', 'clean:bundles_debug', 'qunit', 'uglify', 'copy:dist_bundles_min', 'clean:bundles', 'jsdoc']);
362+
grunt.registerTask('build', ['clean:all',
363+
'browserify',
364+
'copy:dist_debug',
365+
'copy:dist_ext_lib',
366+
'copy:config_coverage',
367+
'copy:test_coverage',
368+
'copy:lib_coverage',
369+
'eslint',
370+
'copy:temp_debug',
371+
'requirejs:compileBundles',
372+
'requirejs:compileBundles_debug',
373+
'run_java',
374+
'rename',
375+
'string-replace',
376+
'copy:dist_bundles_debug',
377+
'clean:bundles_debug',
378+
'qunit',
379+
'uglify',
380+
'copy:dist_bundles_min',
381+
'clean:bundles',
382+
'jsdoc',
383+
'copy:oracle_logo'
384+
]);
355385
};

JSDOC.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# offline-persistence-toolkit 1.4.5 #
1+
# offline-persistence-toolkit 1.4.6 #
22

33
## Introduction ##
44

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# offline-persistence-toolkit 1.4.5 #
1+
# offline-persistence-toolkit 1.4.6 #
22

33
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.
44

@@ -58,16 +58,16 @@ If your app uses [RequireJS](http://www.requirejs.org/ "RequireJS"), update the
5858
```javascript
5959
requirejs.config({
6060
paths: {
61-
'persist' : 'js/libs/persist/v1.4.5/min'
61+
'persist' : 'js/libs/persist/v1.4.6/min'
6262

6363
// Other path mappings here
6464
}
6565
```
66-
For Oracle JET apps, also open `appDir/src/js/main-release-paths.json` and add the `'persist' : 'js/libs/persist/v1.4.5/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.4.6/min'` entry to the list of paths.
6767
6868
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.
6969
70-
It is recommended to add the version number as a convention in your application build step such as `'persist' : 'js/libs/persist/v1.4.5/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.4.6/min'`.
7171
7272
Versions of the toolkit are also available on CDN under the latest JET release. e.g.
7373
@@ -91,7 +91,7 @@ And again, if you are using RequireJS, you will need to map paths for these pack
9191
paths: {
9292
'pouchdb': 'js/libs/pouchdb-7.0.0',
9393
'pouchfind': 'js/libs/pouchdb.find',
94-
'persist' : 'js/libs/persist/v1.4.5/min'
94+
'persist' : 'js/libs/persist/v1.4.6/min'
9595

9696
// Other path mappings here
9797
}

USAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# offline-persistence-toolkit 1.4.5 #
1+
# offline-persistence-toolkit 1.4.6 #
22

33
# Introduction #
44

config/conf_jsdoc.json

+32-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
11
{
2-
"plugins": [],
3-
"recurseDepth": 10,
4-
"source": {
5-
"includePattern": ".+\\.js(doc|x)?$",
6-
"excludePattern": "(^|\\/|\\\\)_"
7-
},
8-
"sourceType": "module",
9-
"tags": {
10-
"allowUnknownTags": true,
11-
"dictionaries": ["jsdoc","closure"]
12-
},
13-
"templates": {
14-
"cleverLinks": false,
15-
"monospaceLinks": false,
16-
"default": {
17-
"includeDate": false
18-
}
2+
"plugins": [],
3+
"recurseDepth": 10,
4+
"source": {
5+
"includePattern": ".+\\.js(doc|x)?$",
6+
"excludePattern": "(^|\\/|\\\\)_"
7+
},
8+
"sourceType": "module",
9+
"tags": {
10+
"allowUnknownTags": true,
11+
"dictionaries": ["jsdoc", "closure"]
12+
},
13+
"templates": {
14+
"cleverLinks": false,
15+
"monospaceLinks": false,
16+
"default": {
17+
"includeDate": false
1918
}
19+
},
20+
"opts": {
21+
"template": "oj/templates/custom",
22+
"destination": "../docs",
23+
"recurse": true,
24+
"violations": {
25+
"MISSING_LINKS": false,
26+
"TYPEDEF_IN_TYPE": true,
27+
"INVALID_GLOBAL_MEMBER": true,
28+
"MISSING_OJCOMPONENT_TYPE": true,
29+
"MISSING_CLASS_TYPE": true,
30+
"INVALID_ATTRIBUTE_TYPE": true,
31+
"INVALID_DEFAULT_VALUE": true
32+
},
33+
"violationLevel": "error"
34+
}
2035
}
21-

config/oj/oracle_logo_sm.png

2.48 KB
Loading

config/oj/templates/custom/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The default template for JSDoc 3 uses: [the Taffy Database library](http://taffydb.com/) and the [Underscore Template library](http://documentcloud.github.com/underscore/#template).

0 commit comments

Comments
 (0)