aboutsummaryrefslogtreecommitdiffstats
path: root/src/Scope.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Scope.js')
-rw-r--r--src/Scope.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Scope.js b/src/Scope.js
index 53228a0d..3aaff361 100644
--- a/src/Scope.js
+++ b/src/Scope.js
@@ -233,6 +233,11 @@ function createScope(parent, services, existing) {
behavior[name] = bind(instance, fn);
});
(Class || noop).call(instance);
+
+ //TODO: backwards compatibility hack, remove when Feedback's init methods are removed
+ if (behavior.hasOwnProperty('init')) {
+ behavior.init();
+ }
}
});