2016-03-09 09:14:09 +01:00
|
|
|
// 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) {
|
2016-03-13 17:16:53 +01:00
|
|
|
define("converse-headline", [
|
|
|
|
"converse-core",
|
|
|
|
"converse-api",
|
|
|
|
// TODO: remove this dependency
|
2016-03-13 18:41:16 +01:00
|
|
|
"converse-chatview"
|
2016-03-13 17:16:53 +01:00
|
|
|
], factory);
|
2016-03-09 09:14:09 +01:00
|
|
|
}(this, function (converse, converse_api) {
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}));
|