Inherit store from asteroid module and add dependencies

This commit is contained in:
Ritchie Martori 2013-04-15 14:38:06 -07:00
parent 57c02c0a8f
commit abe07271fa
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"module": "oracle-connection",
"options": {
"hostname": "127.0.0.1",
"host": "127.0.0.1",
"port": 1234
}
}

10
node_modules/store/lib/store.js generated vendored
View File

@ -40,3 +40,13 @@ function Store(options) {
this.schema = new Schema(adapter, connection.options);
}
inherits(Store, AsteroidModule);
/**
* Dependencies
*/
Store.dependencies = {
"connection": {module: "connection", optional: true}
};