@jdeighan/coffee-utils 5.0.3 → 5.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jdeighan/coffee-utils",
3
3
  "type": "module",
4
- "version": "5.0.3",
4
+ "version": "5.0.4",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -14,6 +14,14 @@ logger = undef
14
14
  export stringify = undef
15
15
  export id = 42
16
16
 
17
+ # ---------------------------------------------------------------------------
18
+ # This is useful for debugging and easy to remove after debugging
19
+
20
+ export LOG = (lArgs...) ->
21
+
22
+ console.log lArgs...
23
+ return
24
+
17
25
  # ---------------------------------------------------------------------------
18
26
 
19
27
  export setStringifier = (func) ->
package/src/log_utils.js CHANGED
@@ -32,6 +32,12 @@ export var stringify = undef;
32
32
 
33
33
  export var id = 42;
34
34
 
35
+ // ---------------------------------------------------------------------------
36
+ // This is useful for debugging and easy to remove after debugging
37
+ export var LOG = function(...lArgs) {
38
+ console.log(...lArgs);
39
+ };
40
+
35
41
  // ---------------------------------------------------------------------------
36
42
  export var setStringifier = function(func) {
37
43
  var orgStringifier;