comparison ambnews/content/blank.js @ 6:ec86d1e59d44

Ummm... Oops. When I converted AmbNews annotations to ambnews annotations, I missed a few.
author Atul Varma <varmaa@toolness.com>
date Thu, 21 Aug 2008 18:14:31 -0700
parents 44bcb4975ead
children f07bf657f483
comparison
equal deleted inserted replaced
5:8cafc4c42c29 6:ec86d1e59d44
11 options.resultType = options.RESULTS_AS_URI; 11 options.resultType = options.RESULTS_AS_URI;
12 options.sortingMode = options.SORT_BY_VISITCOUNT_DESCENDING; 12 options.sortingMode = options.SORT_BY_VISITCOUNT_DESCENDING;
13 13
14 // no query parameters will return everything 14 // no query parameters will return everything
15 var query = historyService.getNewQuery(); 15 var query = historyService.getNewQuery();
16 query.annotation = "AmbNews/feed"; 16 query.annotation = "ambnews/feed";
17 17
18 // execute the query 18 // execute the query
19 var result = historyService.executeQuery(query, options); 19 var result = historyService.executeQuery(query, options);
20 20
21 var root = result.root; 21 var root = result.root;
32 root.containerOpen = false; 32 root.containerOpen = false;
33 } else { 33 } else {
34 var annSvc = AmbNews.__getAnnSvc(); 34 var annSvc = AmbNews.__getAnnSvc();
35 var child = root.getChild(childNum); 35 var child = root.getChild(childNum);
36 var feedUri = annSvc.getPageAnnotation(AmbNews.url(child.uri), 36 var feedUri = annSvc.getPageAnnotation(AmbNews.url(child.uri),
37 "AmbNews/feed"); 37 "ambnews/feed");
38 childNum++; 38 childNum++;
39 if (feedUri in shownFeeds) { 39 if (feedUri in shownFeeds) {
40 getNextFeed(); 40 getNextFeed();
41 } else { 41 } else {
42 shownFeeds[feedUri] = true; 42 shownFeeds[feedUri] = true;