native-document 1.0.188 → 1.0.189

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,6 +1,6 @@
1
1
  {
2
2
  "name": "native-document",
3
- "version": "1.0.188",
3
+ "version": "1.0.189",
4
4
  "description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
5
5
  "author": "AfroCodeur <https://github.com/afrocodeur>",
6
6
  "license": "MIT",
@@ -290,7 +290,7 @@ ObservableArray.prototype.populateAndRender = function(iteration, callback) {
290
290
  */
291
291
  ObservableArray.prototype.where = function(predicates, dependencies = null) {
292
292
  if(typeof predicates === 'function') {
293
- predicates = { _: predicates, dependencies };
293
+ predicates = { _: { callback: predicates, dependencies} };
294
294
  }
295
295
  const sourceArray = this;
296
296
  const observableDependencies = [sourceArray];