app/assets/javascripts/logging_utils.js.coffee in hqmf2js-1.0.1 vs app/assets/javascripts/logging_utils.js.coffee in hqmf2js-1.1.0
- old
+ new
@@ -83,20 +83,9 @@
result = func(codeSet,start,end)
Logger.info("matched -> #{Logger.stringify(result)}")
return result;
);
- # hQuery.CodedEntry.prototype.includesCodeFrom = _.wrap(hQuery.CodedEntry.prototype.includesCodeFrom, (func, codeSet) ->
- # func = _.bind(func, this, codeSet)
- # result = func(codeSet)
- # matchText = "--- noMatch"
- # matchText = "+++ validMatch" if result
- #
- # Logger.info("#{matchText}: -> #{Logger.classNameFor(this)}:#{this.freeTextType()}:#{this.date()}:#{Logger.codedValuesAsString(this.type())}")
- #
- # return result;
- # );
-
@getCodes = _.wrap(@getCodes, (func, oid) ->
codes = func(oid)
Logger.info("accessed codes: #{oid}")
codes
)