-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding core and middlewares folders for astronomy and validation modules
- Loading branch information
Chandan Tiwari
committed
May 9, 2015
1 parent
1f2fd49
commit 11b21aa
Showing
4 changed files
with
44 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,26 @@ | ||
/** | ||
* Created by chandan on 09/05/15. | ||
*/ | ||
|
||
|
||
|
||
var api = { | ||
|
||
getJulianDay : function(data){ | ||
|
||
}, | ||
|
||
getSolarSystemBodies : function(data, callback){ | ||
|
||
}, | ||
|
||
getLunarPosition : function(data, callback){ | ||
|
||
}, | ||
|
||
getSolarPosition : function(data, callback){ | ||
|
||
} | ||
}; | ||
|
||
module.exports = api; |
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,11 @@ | ||
/** | ||
* Created by chandan on 09/05/15. | ||
*/ | ||
|
||
var async = require('node-swisseph'); | ||
var swisseph = require('node-swisseph'); | ||
|
||
var flag = swisseph.FLG_SPEED; | ||
|
||
// set ephemeris data path | ||
swisseph.set_ephe_path (__dirname + '/../ephe'); |
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,3 @@ | ||
/** | ||
* Created by chandan on 09/05/15. | ||
*/ |
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