|
@@ -0,0 +1,33 @@
|
|
|
+// Converse.js (A browser based XMPP chat client)
|
|
|
+// http://conversejs.org
|
|
|
+//
|
|
|
+// Copyright (c) 2012-2016, Jan-Carel Brand <jc@opkode.com>
|
|
|
+// Licensed under the Mozilla Public License (MPLv2)
|
|
|
+//
|
|
|
+/*global define */
|
|
|
+
|
|
|
+(function (root, factory) {
|
|
|
+ define("converse-headline", ["converse-core", "converse-api"], factory);
|
|
|
+}(this, function (converse, converse_api) {
|
|
|
+ "use strict";
|
|
|
+ var $ = converse_api.env.jQuery,
|
|
|
+ utils = converse_api.env.utils,
|
|
|
+ Strophe = converse_api.env.Strophe,
|
|
|
+ _ = converse_api.env._;
|
|
|
+ // For translations
|
|
|
+ var __ = utils.__.bind(converse);
|
|
|
+ var ___ = utils.___;
|
|
|
+
|
|
|
+ var supports_html5_notification = "Notification" in window;
|
|
|
+
|
|
|
+
|
|
|
+ converse_api.plugins.add('headline', {
|
|
|
+
|
|
|
+ initialize: function () {
|
|
|
+ /* The initialize function gets called as soon as the plugin is
|
|
|
+ * loaded by converse.js's plugin machinery.
|
|
|
+ */
|
|
|
+ // TODO
|
|
|
+ }
|
|
|
+ });
|
|
|
+}));
|