Skip to content

Commit

Permalink
version 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kelp404 committed Oct 16, 2015
1 parent 368ff22 commit 19dd6ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions lib/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
};

Document.prototype.save = function(refresh) {
var dbFieldName, deferred, document, error, property, propertyName, ref, ref1, ref2;
var dbFieldName, deferred, document, error, error1, property, propertyName, ref, ref1, ref2;
if (refresh == null) {
refresh = false;
}
Expand All @@ -491,8 +491,8 @@
dbFieldName = (ref2 = property.dbField) != null ? ref2 : propertyName;
try {
document[dbFieldName] = property.toDb(this);
} catch (_error) {
error = _error;
} catch (error1) {
error = error1;
deferred.reject(error);
return deferred.promise;
}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enju",
"version": "0.1.2",
"version": "0.1.3",
"description": "An elasticsearch on node.js written in CoffeeScript.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -30,9 +30,9 @@
"time-grunt": "1.2.1"
},
"dependencies": {
"coffee-script": "1.9.3",
"config": "1.15.0",
"elasticsearch": "8.0.1",
"coffee-script": "1.10.0",
"config": "1.16.0",
"elasticsearch": "8.2.0",
"q": "1.4.1"
}
}

0 comments on commit 19dd6ce

Please sign in to comment.