Make actions private in panels and views
Change-Id: I3f2c68c6e51525bbba96c24c4fddf9f9498333b1
diff --git a/dev/js/spec/panelSpec.js b/dev/js/spec/panelSpec.js
index a72223d..8618369 100644
--- a/dev/js/spec/panelSpec.js
+++ b/dev/js/spec/panelSpec.js
@@ -41,7 +41,7 @@
expect(e.lastChild.classList.contains("button-group")).toBeTruthy();
expect(e.lastChild.firstChild).toBeFalsy();
- expect(panel.actions).toBeTruthy();
+ expect(panel.actions()).toBeTruthy();
});
@@ -49,7 +49,7 @@
var panel = panelClass.create();
controlStr = "";
- panel.actions.add("New", {'cls':["new"]}, function () {
+ panel.actions().add("New", {'cls':["new"]}, function () {
controlStr = 'New!!!';
});