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

Commit 38e48b5c by Overlook Motel

switching tabs for spaces

1 parent 5af6097e
Showing with 5 additions and 5 deletions
......@@ -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
......@@ -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) {
......@@ -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) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!