Added support for exporting html

This commit is contained in:
Erlend Halvorsen 2011-07-06 14:57:07 +02:00 committed by Peter 'Pita' Martischka
parent 6f59835474
commit 7cf1a50fff
3 changed files with 427 additions and 2 deletions

View file

@ -28,7 +28,7 @@ var db = new ueberDB.database(settings.dbType, settings.dbSettings);
/**
* The UeberDB Object that provides the database functions
*/
exports.db = null;
exports.db = db;
/**
* Initalizes the database with the settings provided by the settings module
@ -49,7 +49,6 @@ exports.init = function(callback)
//everything ok
else
{
exports.db = db;
callback(null);
}
});