qcobjects-sdk 2.4.21 → 2.4.22

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.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.21
1
+ 2.4.22
@@ -183,8 +183,8 @@ Package("org.quickcorp.components.notifications", [
183
183
  }
184
184
 
185
185
  ]);
186
- NotificationComponent.success = () => (new NotificationComponent({name:"notification",tplsource:"none"})).success(...arguments);
187
- NotificationComponent.danger = () => (new NotificationComponent({name:"notification",tplsource:"none"})).danger(...arguments);
188
- NotificationComponent.info = () => (new NotificationComponent({name:"notification",tplsource:"none"})).info(...arguments);
189
- NotificationComponent.warning = () => (new NotificationComponent({name:"notification",tplsource:"none"})).warning(...arguments);
186
+ NotificationComponent.success = (message) => (new NotificationComponent({name:"notification",tplsource:"none"})).success(message);
187
+ NotificationComponent.danger = (message) => (new NotificationComponent({name:"notification",tplsource:"none"})).danger(message);
188
+ NotificationComponent.info = (message) => (new NotificationComponent({name:"notification",tplsource:"none"})).info(message);
189
+ NotificationComponent.warning = (message) => (new NotificationComponent({name:"notification",tplsource:"none"})).warning(message);
190
190
  }).call(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qcobjects-sdk",
3
- "version": "2.4.21",
3
+ "version": "2.4.22",
4
4
  "description": "QCObjects SDK is a set of Controllers, Views and Components that are elementary and useful to assist developers to build applications under MVC patterns using QCObjects, Cross Browser Javascript Framework for MVC Patterns",
5
5
  "main": "QCObjects-SDK.js",
6
6
  "scripts": {