code style
This commit is contained in:
parent
a6b8ca70af
commit
31c7973763
|
@ -349,7 +349,7 @@ Memory.prototype.all = function all(model, filter, callback) {
|
||||||
function sorting(a, b) {
|
function sorting(a, b) {
|
||||||
for (var i = 0, l = this.length; i < l; i++) {
|
for (var i = 0, l = this.length; i < l; i++) {
|
||||||
|
|
||||||
if(a[this[i].key] === undefined && b[this[i].key] === undefined) {
|
if (a[this[i].key] === undefined && b[this[i].key] === undefined) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue