summaryrefslogtreecommitdiffstats
path: root/examples/unstablecomponent/config/controller.qs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/unstablecomponent/config/controller.qs')
-rw-r--r--examples/unstablecomponent/config/controller.qs10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/unstablecomponent/config/controller.qs b/examples/unstablecomponent/config/controller.qs
new file mode 100644
index 000000000..ea7f96802
--- /dev/null
+++ b/examples/unstablecomponent/config/controller.qs
@@ -0,0 +1,10 @@
+function Controller() {
+ installer.unstableComponentFound.connect(unstableComponentFound)
+}
+
+unstableComponentFound = function(type, message, comp)
+{
+ console.log("Unstable component, type: " + type)
+ console.log("Unstable component, message: " + message)
+ console.log("Unstable component, name: " + comp)
+}