The work involves feeding the more than 100 cats at Bear Den Sanctuary on weekdays and weekends.
Scroll to read more San Antonio News articles
', 'fetching') },
success: function (data) {
// console.log(data.result, data.error, data)
if (data) {
if (data.error) {
// presentResult('Trouble loading content.', 'error')
}
else if (data.result) {
if (typeof Foundation.Content === 'undefined') {
presentResult(data.result, 'remove');
}
else {
presentResult(data.result, 'remove', () => {
// Foundation.Content[contentOid].setupInlineComponents();
if (Foundation.Image.Editor && typeof Foundation.Image.Editor.setupEditButtons === 'function') {
Foundation.Image.Editor.setupEditButtons();
}
});
}
}
else {
// presentResult('How did we get here?', 'error')
}
}
else {
// presentResult('No result or error returned from content request.', 'error')
}
},
complete: function () {
cmInstance.queue.push(fetchUnloadedItems);
},
error: function (error) {
// presentResult('Ajax request error.', 'error')
}
})
}
}
cmInstance.queue.push(fetchUnloadedItems)
jQuery(document).on('scroll resize', function () {
// Prevent rapid firing of event stuff
clearTimeout(onScrollTimeout)
onScrollTimeout = setTimeout(function() {
// console.log('Foundation.MultiItem onScroll event')
updateFurthestDownInView()
}, 100);
})
jQuery(document).on('foundation:multiitem:itemchange', function () {
// Prevent rapid firing of event stuff
clearTimeout(onItemChangeTimeout)
onItemChangeTimeout = setTimeout(function() {
// console.log('Foundation.MultiItem foundation:multiitem:itemchange event ')
cmInstance.onItemChange()
}, 100);
})
};
Foundation.MultiItems = Foundation.MultiItems || {
add: function (multiItem) {
Foundation.MultiItems[multiItem.id] = multiItem;
}
};
Foundation.MultiItems.add(new Foundation.MultiItem({
id: 'ContentRowMultiple',
onItemChange: function () {
if (this.currentPermaLink) {
var state = {}
var title=""
var url = this.currentPermaLink
history.pushState(state, title, url)
}
if (this.currentCanonical) {
document.querySelector('meta[property*=og\:url]').href = this.currentCanonical
document.querySelector('link[rel*=canonical]').href = this.currentCanonical
}
if (this.currentThumb) {
document.querySelector('link[rel*=image_src]').href = this.currentThumb
document.querySelector('meta[name*=thumbnail]').content = this.currentThumb
document.querySelector('meta[property*=og\:image]').content = this.currentThumb
document.querySelector('meta[name*=twitter\:image]').content = this.currentThumb
}
if (this.currentTitle) {
document.querySelector('title').text = this.currentTitle
}
// Google track pageview
if (typeof ga === 'function') {
ga('set', 'location', window.location.href)
for (let i = 1; i <= 4; i++) {
let currentDimension = jQuery(Foundation.MultiItems["ContentRowMultiple"].currentItem).attr('ga-dimension'+i)
if (typeof currentDimension === 'string') {
ga('set', 'dimension' + i, currentDimension)
}
else {
ga('set', 'dimension' + i, '')
}
}
ga('send', 'pageview')
}
if (typeof (Foundation.Ad.slots['_LeaderboardHeader-1']) === 'object' && !false) {
Foundation.Ad.refresh('_LeaderboardHeader-1')
}
if (typeof (Foundation.Ad.slots['_Footer-1']) === 'object') {
Foundation.Ad.showFooter('_Footer-1');
}
}
}))