PageSourceSearch

https://groundupmusic.net/mx/ang/Exhibit.js

js groundupmusic.net collected 2026-10-02 12:10:11 UTC 966 bytes, 32 lines download raw bytes

1apollo.service('Exhibit', function($rootScope, $sce, $timeout, Southwest) {
2    var service = {
3        shown: false,
4        caption: null,
5        src: null,
6        style: {}
7    }
8    service.trust = function(html){
9        return $sce.trustAsHtml(html);
10    }
11    service.close = function(){
12        service.shown = false;
13        service.caption = null;
14        service.src =  null;
15    }
16
17    service.open = function (src, caption) {
18        if ($rootScope.dimensions.width > 768) {
19            service.src = src;
20            service.caption = (caption ? caption: null);
21            service.shown = true;
22            $timeout(function(){
23                var ih = $('exhibit').find('img').first().outerHeight();
24                service.style.position = "relative";
25                service.style.top = (Southwest.getSmartHeight(ih) / 3) + 'px';
26            },10);
27        } else {
28            window.open(src, '_blank');
29        }
30    }
31    return service;
32});

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.