Automatically handle the "showConfiguration" and "webviewclosed" events + other minor code cleanup

This commit is contained in:
Keegan
2016-02-16 17:05:42 -08:00
parent 24bfc54991
commit 56eb666ee2
11 changed files with 144 additions and 51 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ function ClayItem(config) {
var _component = componentRegistry[config.type];
if (!_component) {
throw new Error('the component: ' + config.type + ' is not registered. ' +
throw new Error('The component: ' + config.type + ' is not registered. ' +
'Make sure to register it with ClayConfig.registerComponent()');
}
@@ -31,7 +31,7 @@ function ClayItem(config) {
/** @type {string|null} */
self.appKey = config.appKey || null;
/** @type {object} */
/** @type {Object} */
self.config = config;
/** @type {M} */