Commit a9286318 by Sebastián Katzer

Merged JS files into a single one

parent b1a6e7d5
...@@ -57,16 +57,6 @@ ...@@ -57,16 +57,6 @@
<clobbers target="cordova.plugins.notification.local" /> <clobbers target="cordova.plugins.notification.local" />
</js-module> </js-module>
<js-module src="www/local-notification-core.js" name="LocalNotification.Core">
<clobbers target="cordova.plugins.notification.local.core" />
<clobbers target="plugin.notification.local.core" />
</js-module>
<js-module src="www/local-notification-util.js" name="LocalNotification.Util">
<merges target="cordova.plugins.notification.local.core" />
<merges target="plugin.notification.local.core" />
</js-module>
<!-- ios --> <!-- ios -->
<platform name="ios"> <platform name="ios">
<config-file target="config.xml" parent="/*"> <config-file target="config.xml" parent="/*">
......
...@@ -531,7 +531,7 @@ public class LocalNotification extends CordovaPlugin { ...@@ -531,7 +531,7 @@ public class LocalNotification extends CordovaPlugin {
params = data.toString(); params = data.toString();
} }
js = "cordova.plugins.notification.local.core.fireEvent(" + js = "cordova.plugins.notification.local.fireEvent(" +
"\"" + event + "\"," + params + ")"; "\"" + event + "\"," + params + ")";
if (launchDetails == null && !deviceready && toast != null) { if (launchDetails == null && !deviceready && toast != null) {
......
...@@ -704,7 +704,7 @@ ...@@ -704,7 +704,7 @@
} }
js = [NSString stringWithFormat: js = [NSString stringWithFormat:
@"cordova.plugins.notification.local.core.fireEvent('%@', %@)", @"cordova.plugins.notification.local.fireEvent('%@', %@)",
event, params]; event, params];
if (deviceready) { if (deviceready) {
......
...@@ -351,7 +351,7 @@ exports.clicked = function (xml, input) { ...@@ -351,7 +351,7 @@ exports.clicked = function (xml, input) {
*/ */
exports.fireEvent = function (event, toast, data) { exports.fireEvent = function (event, toast, data) {
var meta = Object.assign({ event: event }, data), var meta = Object.assign({ event: event }, data),
plugin = cordova.plugins.notification.local.core; plugin = cordova.plugins.notification.local;
if (!ready) { if (!ready) {
queue.push(arguments); queue.push(arguments);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment