PageSourceSearch

http://wikigenomes.org/static/wiki/js/app/landing-page/landing-page.component.js

js wikigenomes.org collected 2026-09-25 23:42:30 UTC 1,031 bytes, 32 lines download raw bytes

1angular
2    .module('landingPage')
3    .component('landingPage', {
4        controller: function (allOrgs, recentChlamPubLinks, euroPubData) {
5            var ctrl = this;
6            ctrl.myInterval = 5000;
7            ctrl.noWrapSlides = false;
8            ctrl.active = 0;
9            var currIndex = 0;
10            ctrl.orgList = allOrgs.getAllOrgs();
11            recentChlamPubLinks.getRecentChlamPubLinks().then(function (data) {
12                var pubs = data.data.esearchresult.idlist;
13                ctrl.recentPubs = [];
14                angular.forEach(pubs, function (value) {
15                    euroPubData.getEuroPubData(value).then(function (data) {
16
17                            if(data.data.resultList.result[0]){
18                                ctrl.recentPubs.push(data.data.resultList.result[0]);
19                            }
20
21
22                        }
23                    )
24
25                });
26            });
27
28        },
29        templateUrl: '/static/wiki/js/angular_templates/landing-page.html'
30    });
31
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.