add yahoo and google apps back into develop

This commit is contained in:
Shane Caraveo 2010-12-13 18:24:33 -08:00
Родитель c01a72ae7f
Коммит 0275705e5d
2 изменённых файлов: 2 добавлений и 10 удалений

Просмотреть файл

@ -34,7 +34,7 @@ function (require, $, fn, rdapi, oauth, jig,
dispatch, storage, accounts, dotCompare, url) {
var domainList = [
'twitter.com', 'facebook.com', 'google.com' //, 'googleapps.com', 'yahoo.com'
'twitter.com', 'facebook.com', 'google.com' , 'googleapps.com', 'yahoo.com'
],
store = storage(),
isGreaterThan072 = dotCompare(store.extensionVersion, "0.7.3") > -1,
@ -42,12 +42,6 @@ function (require, $, fn, rdapi, oauth, jig,
showNew = options.show === 'new',
domains;
//Workaround to allow debugging google apps and yahoo in production.
if (options.accounts === 'all') {
domainList.push('googleapps.com');
domainList.push('yahoo.com');
}
domains = {
'twitter.com': {
type: 'twitter',

Просмотреть файл

@ -645,8 +645,7 @@ function (require, $, fn, rdapi, oauth, jig, url,
//For the "new items" link, only show it for x number of days after showing it.
//NOTE: when updating for newer releases, delete the old value from the
//storage.
/*
timer = store.newTimerV1;
timer = store.newTimerV2;
if (!timer) {
store.newTimerV1 = (new Date()).getTime();
showNew = true;
@ -657,7 +656,6 @@ function (require, $, fn, rdapi, oauth, jig, url,
showNew = true;
}
}
*/
$(function () {
var thumbImgDom = $('img.thumb'),