1
0
Fork 0
This commit is contained in:
Jan Steemann 2013-01-21 13:58:23 +01:00
parent 59c3dac151
commit 33d5abbd91
2 changed files with 2 additions and 2 deletions

View File

@ -682,7 +682,7 @@ ArangoCollection.prototype.iterate = function (iterator, options) {
ArangoCollection.prototype.removeByExample = function (example, waitForSync) {
var documents;
// TODO this is not optiomal for the client, there should a HTTP call handling
// TODO this is not optiomal for the client, there should be an HTTP call handling
// everything on the server
documents = this.byExample(example);

View File

@ -95,7 +95,7 @@ function AHUACATL_INDEX (collection, indexTypes) {
var index = indexes[i];
for (var j = 0; j < indexTypes.length; ++j) {
if (index.type == indexTypes[j]) {
if (index.type === indexTypes[j]) {
return index.id;
}
}