Browse Source

Commenting

j433866 6 years ago
parent
commit
c8eab5d218
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/core/lib/Magic.mjs

+ 2 - 0
src/core/lib/Magic.mjs

@@ -276,6 +276,8 @@ class Magic {
         let results = [];
 
         // Record the properties of the current data
+        // Only if there either wasn't a filter provided,
+        // or the filter matches in the data
         if (filter == null || new RegExp(filter).test(this.inputStr)){
             results.push({
                 recipe: recipeConfig,