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

Commit 633205e6 by Sascha Depold

reverted prev. change

1 parent ebaec176
Showing with 3 additions and 5 deletions
......@@ -50,11 +50,9 @@ module.exports = (function() {
for (var attrName in dao.rawAttributes) {
if (dao.rawAttributes.hasOwnProperty(attrName)) {
(function(reference) {
if (!!reference) {
deps.push((reference instanceof DaoFactory) ? reference.tableName : reference)
}
})(dao.rawAttributes[attrName].references)
if (dao.rawAttributes[attrName].references) {
deps.push(dao.rawAttributes[attrName].references)
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!