-widgets sample page should now work
This commit is contained in:
parent
61036119df
commit
fcb7ca2858
|
@ -6,7 +6,7 @@
|
|||
sourceDomain: "http://localhost/", //where to get show status from
|
||||
text: {onAirToday:"On air today"}
|
||||
};
|
||||
var options = $.extend(defaults, options);
|
||||
var options = $.extend(true, defaults, options);
|
||||
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
||||
|
||||
return this.each(function() {
|
||||
|
@ -84,7 +84,7 @@
|
|||
sourceDomain: "http://localhost/", //where to get show status from
|
||||
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"}
|
||||
};
|
||||
var options = $.extend(defaults, options);
|
||||
options = $.extend(true, defaults, options);
|
||||
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
||||
|
||||
return this.each(function() {
|
||||
|
@ -162,7 +162,7 @@
|
|||
dowText: {monday:"Monday", tuesday:"Tuesday", wednesday:"Wednesday", thursday:"Thursday", friday:"Friday", saturday:"Saturday", sunday:"Sunday"},
|
||||
miscText: {time:"Time", programName:"Program Name", details:"Details", readMore:"Read More"}
|
||||
};
|
||||
var options = $.extend(defaults, options);
|
||||
var options = $.extend(true, defaults, options);
|
||||
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
||||
|
||||
return this.each(function() {
|
||||
|
|
|
@ -13,24 +13,22 @@
|
|||
$(document).ready(function() {
|
||||
$("#headerLiveHolder").airtimeLiveInfo({
|
||||
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
||||
text: {onAirToday:"On air today"},
|
||||
text: {onAirNow:"On air today"},
|
||||
updatePeriod: 20 //seconds
|
||||
});
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$("#onAirToday").airtimeShowSchedule({
|
||||
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
||||
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
|
||||
updatePeriod: 5 //seconds
|
||||
});
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$("#scheduleTabs").airtimeWeekSchedule({
|
||||
sourceDomain:"http://airtime-dev.sourcefabric.org/",
|
||||
dowText:{monday:"Lundi", tuesday:"Mardi", wednesday:"Mercredi", thursday:"Jeudi", friday:"Vendredi", saturday:"Samedi", sunday:"Dimanche"},
|
||||
miscText:{time:"Temps", programName:"Nom du Programme", details:"Détails", readMore:"Lire La Suite"},
|
||||
updatePeriod: 600 //seconds
|
||||
});
|
||||
$('#scheduleTabs').tabs();
|
||||
|
||||
});
|
||||
</script>
|
||||
<div id="headerLiveHolder"></div>
|
||||
|
|
Loading…
Reference in New Issue