We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc8744 commit f7ccb63Copy full SHA for f7ccb63
lib/Model.js
@@ -135,11 +135,11 @@ function Model(opts) {
135
// Standardize validations
136
for (var k in opts.validations) {
137
if (typeof opts.validations[k] == 'function') {
138
- opts.validations[k] = [opts.validations[k]]
+ opts.validations[k] = [ opts.validations[k] ];
139
}
140
141
142
- for (var k in opts.properties) {
+ for (k in opts.properties) {
143
opts.properties[k] = Property.normalize(opts.properties[k], opts.settings);
144
145
if (opts.properties[k].lazyload !== true) {
0 commit comments