不要怂,就是干,撸起袖子干!

Commit 6dab07a8 by Sascha Depold

formatting

1 parent 4ecc546d
......@@ -90,7 +90,7 @@ module.exports = (function() {
}
DAOFactory.prototype.findAll = function(options) {
if((typeof options === 'object') && (options.hasOwnProperty('include'))) {
if ((typeof options === 'object') && (options.hasOwnProperty('include'))) {
var includes = options.include
options.include = {}
......
......@@ -33,7 +33,7 @@ module.exports = (function() {
this.database.serialize(function() {
var executeSql = function() {
self.database[getDatabaseMethod.call(self)](self.sql, function(err, results) {
//allow clients to listen to sql to do their own logging or whatnot
// allow clients to listen to sql to do their own logging or whatnot
self.emit('sql', self.sql)
this.columnTypes = columnTypes;
err ? onFailure.call(self, err) : onSuccess.call(self, results, this)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!