PageSourceSearch

https://promupac.com/assets/7be7039d/solution/solution.stack.js

js promupac.com collected 2026-10-06 14:01:07 UTC 693 bytes, 29 lines download raw bytes

1/**
2 * Created by pelmen on 19.01.14.
3 */
4(function ($) {
5    $.solution.stack = function () {
6        var _s = {};
7        this.length = 0;
8        this.add = function (key, value) {
9            _s[key] = value;
10            this.length++;
11        };
12        this.get = function (key) {
13            return _s[key];
14        };
15        this.remove = function (key) {
16            delete _s[key];
17            this.length--;
18        };
19        this.clear = function () {
20            _s = {};
21            this.length = 0;
22        };
23        this.isset = function (key) {
24            return _s.hasOwnProperty(key);
25        };
26    };
27
28    $.solution.stack.fn = $.solution.stack.prototype;
29})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.