-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from lemori/just_parse
- Loading branch information
Showing
4 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
@overview This sample will output module requires and members. | ||
@license MIT | ||
@version 0.0.1 | ||
@author lemori | ||
*/ | ||
|
||
/** | ||
init system configuration | ||
@module base | ||
@requires './model/settings' | ||
*/ | ||
var QRCODE_DIR, ROOT, UPLOAD_DIR, init, path, settings; | ||
|
||
path = require('path'); | ||
|
||
settings = require('./model/settings'); | ||
|
||
/** @member */ | ||
|
||
ROOT = '.'; | ||
|
||
/** @member */ | ||
|
||
UPLOAD_DIR = 'upload'; | ||
|
||
/** @member */ | ||
|
||
QRCODE_DIR = 'qrcode'; | ||
|
||
|
||
/** | ||
Read global config from database | ||
@public | ||
@function init | ||
*/ | ||
|
||
init = function() { | ||
console.log('init()'); | ||
}; | ||
|
||
exports.init = init; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
base | ||
=== | ||
|
||
init system configuration | ||
|
||
**Requires:** | ||
|
||
+ module:'./model/settings' | ||
|
||
**Members:** | ||
|
||
+ ROOT | ||
+ UPLOAD_DIR | ||
+ QRCODE_DIR | ||
|
||
--- | ||
|
||
base.init() | ||
----------------------------- | ||
Read global config from database | ||
|
||
|
||
|
||
--- | ||
|
||
|
||
|
||
**License:** MIT lemori | ||
|
||
**Overview:** This sample will output module requires and members. | ||
|
||
**Version:** 0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters