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

Commit 48f41f29 by MrVoltz

Fix formatting

1 parent 46b58d76
Showing with 2 additions and 1 deletions
...@@ -994,8 +994,9 @@ Instance.prototype.decrement = function(fields, options) { ...@@ -994,8 +994,9 @@ Instance.prototype.decrement = function(fields, options) {
Instance.prototype.equals = function(other) { Instance.prototype.equals = function(other) {
var result = true; var result = true;
if(!other || !other.dataValues) if (!other || !other.dataValues) {
return false; return false;
}
Utils._.each(this.dataValues, function(value, key) { Utils._.each(this.dataValues, function(value, key) {
if (Utils._.isDate(value) && Utils._.isDate(other.dataValues[key])) { if (Utils._.isDate(value) && Utils._.isDate(other.dataValues[key])) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!