Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 756c48d

Browse files
committed
Merge branch 'master' into dev
* master: fix:warn: parser plugin 'apiprivate' not found in block: 1
2 parents a67d4d5 + d156940 commit 756c48d

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

lib/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ var app = {
7878
apiuse : './parsers/api_use.js',
7979
apiversion : './parsers/api_version.js',
8080
apisamplerequest : './parsers/api_sample_request.js',
81-
apideprecated : './parsers/api_deprecated.js'
81+
apideprecated : './parsers/api_deprecated.js',
82+
apiprivate : './parsers/api_private.js',
8283
},
8384
workers: {
8485
apierrorstructure : './workers/api_error_structure.js',

lib/parsers/api_private.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
var trim = require('../utils/trim');
2+
3+
function parse(content) {
4+
content = trim(content);
5+
6+
return content;
7+
}
8+
9+
/**
10+
* Exports
11+
*/
12+
module.exports = {
13+
parse : parse,
14+
path : 'local',
15+
method: 'insert'
16+
};

0 commit comments

Comments
 (0)