File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ module.exports = class Document
80
80
return
81
81
throw exceptions .ArgumentError (' Argument error for enju.Document.define()' )
82
82
83
- @ get = (ids , fetchReference = yes ) -> new Promise (resolve , reject ) =>
83
+ @ get = (ids , fetchReference = yes ) -> new Promise (resolve , reject ) =>
84
84
###
85
85
Fetch the document with id or ids.
86
86
If the document is not exist, it will return null.
@@ -323,7 +323,7 @@ module.exports = class Document
323
323
console .error error
324
324
throw error
325
325
326
- save : (refresh = no ) -> new Promise (resolve , reject ) =>
326
+ save : (refresh = no ) -> new Promise (resolve , reject ) =>
327
327
###
328
328
Save this document.
329
329
@param refresh {bool} Refresh the index after performing the operation.
@@ -363,7 +363,7 @@ module.exports = class Document
363
363
@version = response ._version
364
364
resolve @
365
365
366
- delete : (refresh = no ) -> new Promise (resolve , reject ) =>
366
+ delete : (refresh = no ) -> new Promise (resolve , reject ) =>
367
367
###
368
368
Delete this document.
369
369
@returns {promise<Document>}
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class QueryCell
55
55
56
56
57
57
module .exports = class Query
58
- constructor : (documentClass , queryCells = []) ->
58
+ constructor : (documentClass , queryCells = []) ->
59
59
###
60
60
@param documentClass {constructor} The document's constructor.
61
61
###
@@ -499,7 +499,7 @@ module.exports = class Query
499
499
@param queryCell: {QueryCell}
500
500
@returns {object}
501
501
###
502
- bleachRegexCode = (value = ' ' ) ->
502
+ bleachRegexCode = (value = ' ' ) ->
503
503
value = " #{ value} "
504
504
table = ' ^$*+?{}.[]()\\ |/'
505
505
result = []
You can’t perform that action at this time.
0 commit comments