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

Commit 633205e6 by Sascha Depold

reverted prev. change

1 parent ebaec176
Showing with 2 additions and 4 deletions
...@@ -50,11 +50,9 @@ module.exports = (function() { ...@@ -50,11 +50,9 @@ module.exports = (function() {
for (var attrName in dao.rawAttributes) { for (var attrName in dao.rawAttributes) {
if (dao.rawAttributes.hasOwnProperty(attrName)) { if (dao.rawAttributes.hasOwnProperty(attrName)) {
(function(reference) { if (dao.rawAttributes[attrName].references) {
if (!!reference) { deps.push(dao.rawAttributes[attrName].references)
deps.push((reference instanceof DaoFactory) ? reference.tableName : reference)
} }
})(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!