Skip to content

Commit

Permalink
switching tabs for spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Feb 23, 2014
1 parent 5af6097 commit 38e48b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/dao-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ module.exports = (function() {
if (include._pseudo) return include

// check if the current daoFactory is actually associated with the passed daoFactory - or it's a pseudo include
var association = this.getAssociation(include.daoFactory, include.as)
var association = this.getAssociation(include.daoFactory, include.as)
if (association) {
include.association = association
include.as = association.as
Expand Down Expand Up @@ -1461,7 +1461,7 @@ module.exports = (function() {

var validateIncludedAllElement = function(includes, include) {
// check 'all' attribute provided is valid
var all = include.all
var all = include.all
delete include.all

if (all !== true) {
Expand Down Expand Up @@ -1515,9 +1515,9 @@ module.exports = (function() {
include.include = [include.include]
}
}
var used = []
;(function addAllIncludes(parent, includes) {

var used = []
;(function addAllIncludes(parent, includes) {
used.push(parent)
Utils._.forEach(parent.associations, function(association) {
if (all !== true && all.indexOf(association.associationType) == -1) {
Expand Down

0 comments on commit 38e48b5

Please sign in to comment.