mirror of https://gitee.com/bigwinds/arangodb
make jslint stop nagging
This commit is contained in:
parent
8f347f2b54
commit
af4d4e6d25
|
@ -105,6 +105,7 @@ Model = function (attributes) {
|
|||
};
|
||||
|
||||
Model.fromClient = function (attributes) {
|
||||
'use strict';
|
||||
var instance = new this();
|
||||
instance.attributes = whitelistProperties(attributes, this.attributes, false);
|
||||
instance.attributes = fillInDefaults(instance.attributes, this.attributes);
|
||||
|
|
Loading…
Reference in New Issue