Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ArticleActionPlugin.js « plugin « js - github.com/nextcloud/news.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b56e2f3d2d96ff9a03fecfa2769fbf408cf1d46c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
window.News = window.News || {};


(function (window, document, $, exports, undefined) {
    'use strict';

    var articleActionPlugins = [];

    exports.addArticleAction = function (action) {
        articleActionPlugins.push(action);
    };

    exports.getArticleActionPlugins = function () {
        return articleActionPlugins;
    };

})(window, document, jQuery, window.News);