j-templates 8.0.1 → 8.0.2

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.
@@ -846,7 +846,7 @@ function WatchDecorator(target, propertyKey, descriptor, scopeFunction) {
846
846
  return scopeFunction(instance);
847
847
  }
848
848
  const scope = observableScope_1.ObservableScope.Gated(scopeFunctionWrapper);
849
- const propertyMap = GetScopeMapForInstance(this);
849
+ const propertyMap = GetScopeMapForInstance(instance);
850
850
  propertyMap[propertyKey] = [scope, undefined];
851
851
  observableScope_1.ObservableScope.Watch(scope, function (scope) {
852
852
  instance[propertyKey](observableScope_1.ObservableScope.Value(scope));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "j-templates",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "description": "j-templates",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/TypesInCode/jTemplates",