PageSourceSearch

https://davidyao.me/assets/js/data.js

js davidyao.me collected 2026-10-04 00:19:59 UTC 926 bytes, 39 lines download raw bytes

1var ERROR_ALERT_HTML = "<p class='alert alert-danger alert-dismissible'>" + 
2    '<button type="button" class="close" data-dismiss="alert">' + 
3    '<span>&times;</span></button>' + 
4   "<strong>Sorry</strong> There is an error while contacting films server</p>";
5
6var LOADING_HTML = "<div class='progress'>" +
7  '<div class="progress-bar progress-bar-striped active" role="progressbar" style="width: 100%;">' +
8  'Searching...'
9  '</div></div>';
10
11var REVIEWS_DATA = [
12  {
13    douban_id: "1303556",
14    review_url: "http://www.lamadrugadayale.com/#!david/cgb5"
15  }, 
16  {
17    douban_id: "1291878",
18    review_url: "http://www.lamadrugadayale.com/#!david2/c11qo"
19  }
20];
21
22var N_RANDOM_FILMS = 5;
23var N_RECENT_FILMS = 5;
24var N_SEARCH_FILMS = 5;
25
26var FILMS_API = "films/";
27
28var TOP_10_FILM_IDS = [
29  "1297294",
30  "1292271",
31  "1293323",
32  "1291858",
33  "1301715",
34  "1302193",
35  "1478064",
36  "1767042",
37  "1828115",
38  "2076181",
39];

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.