primeui icon indicating copy to clipboard operation
primeui copied to clipboard

Functions declared twice in menu.js

Open SuperPat45 opened this issue 7 years ago • 0 comments

In menu.js theses functions are declared twice:

        _removeAsExpanded: function(element) {
            var id = element.attr('id');

            this.expandedNodes = $.grep(this.expandedNodes, function(value) {
                return value != id;
            });

            this._saveState();
        },

        _addAsExpanded: function(element) {
            this.expandedNodes.push(element.attr('id'));

            this._saveState();
        },

This prevent Google closure compiler to minimify this file.

SuperPat45 avatar Mar 06 '18 09:03 SuperPat45