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

Commit 3589147b by Ricardo Graça

Fix bad formatting of code

1 parent c3fe9efb
Showing with 9 additions and 9 deletions
......@@ -212,12 +212,12 @@ module.exports = (function() {
} else if (typeof options === 'object') {
var options = Utils._.clone(options)
var includes
if (options.hasOwnProperty('include')) {
hasJoin = true
includes = options.include
options.include = {}
includes.forEach(function(daoName) {
options.include[daoName] = this.daoFactoryManager.getDAO(daoName)
......
......@@ -177,14 +177,14 @@ describe(Helpers.getTestDialectTeaser("DAO"), function() {
expect(users[0].username).toEqual('fnord')
this.User.findAll(query).success(function(users) {
expect(users[0].username).toEqual('fnord')
done()
}.bind(this))
expect(users[0].username).toEqual('fnord')
done()
}.bind(this))
}.bind(this))
}.bind(this))
})
})
describe('find', function find() {
it("can reuse query option objects", function(done) {
this.User.create({ username: 'fnord' }).success(function() {
......@@ -194,9 +194,9 @@ describe(Helpers.getTestDialectTeaser("DAO"), function() {
expect(user.username).toEqual('fnord')
this.User.find(query).success(function(user) {
expect(user.username).toEqual('fnord')
done()
}.bind(this))
expect(user.username).toEqual('fnord')
done()
}.bind(this))
}.bind(this))
}.bind(this))
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!