remove remnants of CachedTitles

This commit is contained in:
ccd0 2014-08-24 10:29:20 -07:00
parent 6abbbf00e2
commit e252903b7d
2 changed files with 5 additions and 10 deletions

View File

@ -34,7 +34,6 @@ Main =
for db in DataBoard.keys for db in DataBoard.keys
Conf[db] = boards: {} Conf[db] = boards: {}
Conf['selectedArchives'] = {} Conf['selectedArchives'] = {}
Conf['CachedTitles'] = []
$.get Conf, (items) -> $.get Conf, (items) ->
$.extend Conf, items $.extend Conf, items
Main.initFeatures() Main.initFeatures()

View File

@ -168,10 +168,6 @@ Linkify =
title: (data) -> title: (data) ->
[key, uid, options, link, post] = data [key, uid, options, link, post] = data
return unless service = Linkify.types[key].title return unless service = Linkify.types[key].title
titles = Conf['CachedTitles']
if title = titles[uid]
link.textContent = title[0]
else
try try
$.cache service.api(uid), (-> Linkify.cb.title @, data), responseType: 'json' $.cache service.api(uid), (-> Linkify.cb.title @, data), responseType: 'json'
catch err catch err