Browse Source

Fixes to allow IE7 to init timeline and display message that TimelineJS is not compatible with IE7

pull/162/head
Zach Wise 13 years ago
parent
commit
6babf12983
  1. 2
      compiled/js/timeline-embed.js
  2. 10
      compiled/js/timeline-min.js
  3. 106
      compiled/js/timeline.js
  4. 4
      source/js/Core/VMM.Date.js
  5. 4
      source/js/Core/VMM.Library.js
  6. 4
      source/js/Core/VMM.Util.js
  7. 2
      source/js/Core/VMM.js
  8. 2
      source/js/Embed/Embed.js
  9. 51
      source/js/Media/VMM.ExternalAPI.js
  10. 24
      source/js/Media/VMM.MediaElement.js
  11. 4
      source/js/VMM.Language.js
  12. 13
      source/js/VMM.Timeline.js
  13. 4
      source/js/locale/cz.js
  14. 4
      source/js/locale/dk.js
  15. 4
      source/js/locale/en.js
  16. 2
      source/js/locale/es.js
  17. 2
      source/js/locale/fr.js
  18. 4
      source/js/locale/id.js
  19. 4
      source/js/locale/is.js
  20. 4
      source/js/locale/it.js
  21. 4
      source/js/locale/kr.js
  22. 4
      source/js/locale/nl.js
  23. 4
      source/js/locale/pl.js
  24. 4
      source/js/locale/pt-br.js
  25. 4
      source/js/locale/zh-ch.js
  26. 4
      source/js/locale/zh-tw.js

2
compiled/js/timeline-embed.js

File diff suppressed because one or more lines are too long

10
compiled/js/timeline-min.js vendored

File diff suppressed because one or more lines are too long

106
compiled/js/timeline.js

@ -145,7 +145,7 @@ if (typeof VMM == 'undefined') {
}, },
api: { api: {
pushques: [], pushques: []
}, },
@ -880,7 +880,7 @@ if(typeof VMM != 'undefined') {
} }
} }
}, }
} }
} }
@ -966,7 +966,7 @@ if( typeof( jQuery ) != 'undefined' ){
easeInOutQuad: function (x, t, b, c, d) { easeInOutQuad: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b; if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b; return -c/2 * ((--t)*(t-2) - 1) + b;
}, }
}); });
} }
@ -1180,7 +1180,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "mmm d',' yyyy 'at' hh:MM TT", full_long: "mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"
}, },
month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
@ -1200,7 +1200,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "dddd', 'h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "dddd', 'h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT", full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>'dddd',' mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>'dddd',' mmm d',' yyyy'</small>'"
}, },
setLanguage: function(lang) { setLanguage: function(lang) {
@ -1974,7 +1974,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
return split.join(''); return split.join('');
}, }
}; };
__TitleCase.init(); __TitleCase.init();
@ -1986,7 +1986,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
} }
}, }
}).init(); }).init();
} }
@ -2316,7 +2316,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
// TWEET MEDIA // TWEET MEDIA
if (typeof d.entities.media != 'undefined') { if (typeof d.entities.media != 'undefined') {
if (d.entities.media[0].type == "photo") { if (d.entities.media[0].type == "photo") {
twit += "<img src=' " + d.entities.media[0].media_url + "' alt=''>" //twit += "<img src=' " + d.entities.media[0].media_url + "' alt=''>"
} }
} }
@ -2331,14 +2331,14 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.attachElement("#tweet_"+tweet.id.toString(), twit ); VMM.attachElement("#"+tweet.id.toString(), twit );
VMM.attachElement("#text_thumb_"+tweet.id.toString(), d.text ); VMM.attachElement("#text_thumb_"+tweet.id.toString(), d.text );
}) })
.error(function(jqXHR, textStatus, errorThrown) { .error(function(jqXHR, textStatus, errorThrown) {
trace("TWITTER error"); trace("TWITTER error");
trace("TWITTER ERROR: " + textStatus + " " + jqXHR.responseText); trace("TWITTER ERROR: " + textStatus + " " + jqXHR.responseText);
VMM.attachElement("#tweet_"+tweet.id, "<p>ERROR LOADING TWEET " + tweet.mid + "</p>" ); VMM.attachElement("#"+tweet.id, "<p>ERROR LOADING TWEET " + tweet.mid + "</p>" );
}) })
.success(function(d) { .success(function(d) {
clearTimeout(twitter_timeout); clearTimeout(twitter_timeout);
@ -2543,7 +2543,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.attachElement("#twitter_"+id.toString(), twit ); VMM.attachElement("#twitter_"+id.toString(), twit );
VMM.attachElement("#text_thumb_"+id.toString(), d.text ); VMM.attachElement("#text_thumb_"+id.toString(), d.text );
}, }
}, },
@ -3006,8 +3006,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.getJSON(the_url, function(d) { VMM.getJSON(the_url, function(d) {
var flickr_id = d.sizes.size[0].url.split("photos\/")[1].split("/")[1]; var flickr_id = d.sizes.size[0].url.split("photos\/")[1].split("/")[1];
var flickr_large_id = "flickr_" + flick.id + "_large", var flickr_large_id = "#" + flick.id,
flickr_thumb_id = "flickr_" + flick.id + "_thumb"; flickr_thumb_id = "#" + flick.id + "_thumb";
//flickr_thumb_id = "flickr_" + uid + "_thumb"; //flickr_thumb_id = "flickr_" + uid + "_thumb";
var flickr_img_size, var flickr_img_size,
@ -3028,8 +3028,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
} }
flickr_img_thumb = d.sizes.size[0].source; flickr_img_thumb = d.sizes.size[0].source;
VMM.Lib.attr("#"+flickr_large_id, "src", flickr_img_size); VMM.Lib.attr(flickr_large_id, "src", flickr_img_size);
VMM.attachElement("#"+flickr_thumb_id, "<img src='" + flickr_img_thumb + "'>"); VMM.attachElement(flickr_thumb_id, "<img src='" + flickr_img_thumb + "'>");
}) })
.error(function(jqXHR, textStatus, errorThrown) { .error(function(jqXHR, textStatus, errorThrown) {
@ -3098,14 +3098,14 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
soundcloud: { soundcloud: {
get: function(url, id) { get: function(mid, id) {
var sound = {url: url, id: id}; var sound = {mid: mid, id: id};
VMM.master_config.soundcloud.que.push(sound); VMM.master_config.soundcloud.que.push(sound);
VMM.master_config.soundcloud.active = true; VMM.master_config.soundcloud.active = true;
}, },
create: function(sound, callback) { create: function(sound, callback) {
var the_url = "http://soundcloud.com/oembed?url=" + sound.url + "&format=js&callback=?"; var the_url = "http://soundcloud.com/oembed?url=" + sound.mid + "&format=js&callback=?";
VMM.getJSON(the_url, function(d) { VMM.getJSON(the_url, function(d) {
VMM.attachElement("#"+sound.id, d.html); VMM.attachElement("#"+sound.id, d.html);
callback(); callback();
@ -3211,7 +3211,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.master_config.wikipedia.que.remove(0); VMM.master_config.wikipedia.que.remove(0);
} }
}, }
}, },
@ -3243,11 +3243,11 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
var p = { var p = {
active: false, active: false,
player: {}, player: {},
name: 'youtube_'+vid.id, name: vid.id,
playing: false playing: false
}; };
p.player['youtube_'+vid.id] = new YT.Player('youtube_'+vid.id, { p.player[vid.id] = new YT.Player(vid.id, {
height: '390', height: '390',
width: '640', width: '640',
playerVars: { playerVars: {
@ -3272,8 +3272,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
trace(d); trace(d);
trace(vid); trace(vid);
if (typeof d.data != 'undefined') { if (typeof d.data != 'undefined') {
var thumb_id = "youtube_" + vid.id + "_thumb"; var thumb_id = "#" + vid.id + "_thumb";
VMM.attachElement("#" + thumb_id, "<img src='" + d.data.thumbnail.sqDefault + "'>"); VMM.attachElement(thumb_id, "<img src='" + d.data.thumbnail.sqDefault + "'>");
} }
}, },
@ -3319,26 +3319,27 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
vimeo: { vimeo: {
get: function(id) { get: function(mid, id) {
VMM.master_config.vimeo.que.push(id); var vid = {mid: mid, id: id};
VMM.master_config.vimeo.que.push(vid);
VMM.master_config.vimeo.active = true; VMM.master_config.vimeo.active = true;
}, },
create: function(d, callback) { create: function(vid, callback) {
trace("VIMEO CREATE"); trace("VIMEO CREATE");
// THUMBNAIL // THUMBNAIL
var url = "http://vimeo.com/api/v2/video/" + d + ".json"; var the_url = "http://vimeo.com/api/v2/video/" + vid.mid + ".json";
VMM.getJSON(url, function(d) { VMM.getJSON(the_url, function(d) {
VMM.ExternalAPI.vimeo.createThumb(d); VMM.ExternalAPI.vimeo.createThumb(d, vid);
callback(); callback();
}); });
}, },
createThumb: function(d) { createThumb: function(d, vid) {
trace("VIMEO CREATE THUMB"); trace("VIMEO CREATE THUMB");
var thumb_id = "vimeo_" + d[0].id + "_thumb"; var thumb_id = "#" + vid.id + "_thumb";
VMM.attachElement("#" + thumb_id, "<img src='" + d[0].thumbnail_small + "'>"); VMM.attachElement(thumb_id, "<img src='" + d[0].thumbnail_small + "'>");
}, },
pushQue: function() { pushQue: function() {
@ -3402,19 +3403,19 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
mediaElem = "<div class='thumbnail thumb-photo'></div>"; mediaElem = "<div class='thumbnail thumb-photo'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "flickr") { } else if (m.type == "flickr") {
mediaElem = "<div class='thumbnail thumb-photo' id='flickr_" + uid + "_thumb'></div>"; mediaElem = "<div class='thumbnail thumb-photo' id='" + uid + "_thumb'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "instagram") { } else if (m.type == "instagram") {
mediaElem = "<div class='thumbnail thumb-instagram' id='instagram_" + m.id + "_thumb'><img src='" + VMM.ExternalAPI.instagram.get(m.id, true) + "'></div>"; mediaElem = "<div class='thumbnail thumb-instagram' id='" + uid + "_thumb'><img src='" + VMM.ExternalAPI.instagram.get(m.id, true) + "'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "youtube") { } else if (m.type == "youtube") {
mediaElem = "<div class='thumbnail thumb-youtube' id='youtube_" + uid + "_thumb'></div>"; mediaElem = "<div class='thumbnail thumb-youtube' id='" + uid + "_thumb'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "googledoc") { } else if (m.type == "googledoc") {
mediaElem = "<div class='thumbnail thumb-document'></div>"; mediaElem = "<div class='thumbnail thumb-document'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "vimeo") { } else if (m.type == "vimeo") {
mediaElem = "<div class='thumbnail thumb-vimeo' id='vimeo_" + m.id + "_thumb'></div>"; mediaElem = "<div class='thumbnail thumb-vimeo' id='" + uid + "_thumb'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "dailymotion") { } else if (m.type == "dailymotion") {
mediaElem = "<div class='thumbnail thumb-video'></div>"; mediaElem = "<div class='thumbnail thumb-video'></div>";
@ -3483,30 +3484,30 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>"; mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>";
// FLICKR // FLICKR
} else if (m.type == "flickr") { } else if (m.type == "flickr") {
_id = "flickr_" + uid; mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img id='" + uid + "'></a></div>";
mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img id='" + _id + "_large" + "'></a></div>";
VMM.ExternalAPI.flickr.get(m.id, uid); VMM.ExternalAPI.flickr.get(m.id, uid);
// INSTAGRAM // INSTAGRAM
} else if (m.type == "instagram") { } else if (m.type == "instagram") {
mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img src='" + VMM.ExternalAPI.instagram.get(m.id) + "'></a></div>"; mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img src='" + VMM.ExternalAPI.instagram.get(m.id) + "'></a></div>";
//VMM.ExternalAPI.instagram.get(m.id, uid);
// GOOGLE DOCS // GOOGLE DOCS
} else if (m.type == "googledoc") { } else if (m.type == "googledoc") {
mediaElem = "<div class='media-frame media-shadow doc' id='" + uid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='media-frame media-shadow doc' id='" + uid + "'>" + loading_messege + "</div>";
VMM.ExternalAPI.googledocs.get(m.id, uid); VMM.ExternalAPI.googledocs.get(m.id, uid);
// YOUTUBE // YOUTUBE
} else if (m.type == "youtube") { } else if (m.type == "youtube") {
mediaElem = "<div class='media-shadow'><div class='media-frame video youtube' id='youtube_" + uid + "'>" + loading_messege + "</div></div>"; mediaElem = "<div class='media-shadow'><div class='media-frame video youtube' id='" + uid + "'>" + loading_messege + "</div></div>";
VMM.ExternalAPI.youtube.get(m.id, uid); VMM.ExternalAPI.youtube.get(m.id, uid);
// VIMEO // VIMEO
} else if (m.type == "vimeo") { } else if (m.type == "vimeo") {
mediaElem = "<div class='media-shadow'><iframe class='media-frame video vimeo' autostart='false' frameborder='0' width='100%' height='100%' src='http://player.vimeo.com/video/" + m.id + "?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff'></iframe></div>"; mediaElem = "<div class='media-shadow'><iframe class='media-frame video vimeo' autostart='false' frameborder='0' width='100%' height='100%' src='http://player.vimeo.com/video/" + m.id + "?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff'></iframe></div>";
VMM.ExternalAPI.vimeo.get(m.id); VMM.ExternalAPI.vimeo.get(m.id, uid);
// DAILYMOTION // DAILYMOTION
} else if (m.type == "dailymotion") { } else if (m.type == "dailymotion") {
mediaElem = "<div class='media-shadow'><iframe class='media-frame video dailymotion' autostart='false' frameborder='0' width='100%' height='100%' src='http://www.dailymotion.com/embed/video/" + m.id + "'></iframe></div>"; mediaElem = "<div class='media-shadow'><iframe class='media-frame video dailymotion' autostart='false' frameborder='0' width='100%' height='100%' src='http://www.dailymotion.com/embed/video/" + m.id + "'></iframe></div>";
// TWITTER // TWITTER
} else if (m.type == "twitter"){ } else if (m.type == "twitter"){
mediaElem = "<div class='twitter' id='" + "tweet_" + uid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='twitter' id='" + uid + "'>" + loading_messege + "</div>";
isTextMedia = true; isTextMedia = true;
VMM.ExternalAPI.twitter.get(m.id, uid); VMM.ExternalAPI.twitter.get(m.id, uid);
// TWITTER // TWITTER
@ -3526,12 +3527,12 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
_id = "googleplus_" + m.id; _id = "googleplus_" + m.id;
mediaElem = "<div class='googleplus' id='" + _id + "'>" + loading_messege + "</div>"; mediaElem = "<div class='googleplus' id='" + _id + "'>" + loading_messege + "</div>";
isTextMedia = true; isTextMedia = true;
VMM.ExternalAPI.googleplus.get(m.user, m.id); VMM.ExternalAPI.googleplus.get(m.user, m.id, uid);
// WIKIPEDIA // WIKIPEDIA
} else if (m.type == "wikipedia") { } else if (m.type == "wikipedia") {
mediaElem = "<div class='wikipedia' id='" + m.uniqueid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='wikipedia' id='" + uid + "'>" + loading_messege + "</div>";
isTextMedia = true; isTextMedia = true;
VMM.ExternalAPI.wikipedia.get(m.id, m.uniqueid, m.lang); VMM.ExternalAPI.wikipedia.get(m.id, uid, m.lang);
// STORIFY // STORIFY
} else if (m.type == "storify") { } else if (m.type == "storify") {
isTextMedia = true; isTextMedia = true;
@ -5291,7 +5292,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Language == 'undefined') {
month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."], month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."],
day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
day_abbr: ["Sun.","Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."], day_abbr: ["Sun.","Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -5302,7 +5303,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Language == 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "mmm d',' yyyy 'at' hh:MM TT", full_long: "mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Loading Timeline... ", loading_timeline: "Loading Timeline... ",
@ -6421,7 +6422,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
timeline_id = "#timeline"; timeline_id = "#timeline";
} }
version = "1.56"; version = "1.58";
trace("TIMELINE VERSION " + version); trace("TIMELINE VERSION " + version);
@ -6488,7 +6489,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
content: { content: {
width: 720, width: 720,
height: 400, height: 400,
padding: 130, padding: 130
}, },
nav: { nav: {
width: 100, width: 100,
@ -6686,10 +6687,15 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
/* GET DATA /* GET DATA
================================================== */ ================================================== */
if (VMM.Browser.browser == "Explorer" || VMM.Browser.browser == "MSIE") {
if ( parseInt(VMM.Browser.version, 10) <= 7 ) {
ie7 = true;
}
}
if (VMM.Browser.browser == "MSIE" && parseInt(VMM.Browser.version, 10) == 7) { if (ie7) {
ie7 = true; ie7 = true;
VMM.fireEvent(global, config.events.messege, "Internet Explorer 7 is not supported by #Timeline."); VMM.fireEvent(global, config.events.messege, "Internet Explorer " + VMM.Browser.version + " is not supported by TimelineJS. Please update your browser to version 8 or higher.");
} else { } else {
if (type.of(_data) == "string" || type.of(_data) == "object") { if (type.of(_data) == "string" || type.of(_data) == "object") {
VMM.Timeline.DataObj.getData(_data); VMM.Timeline.DataObj.getData(_data);

4
source/js/Core/VMM.Date.js

@ -17,7 +17,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "mmm d',' yyyy 'at' hh:MM TT", full_long: "mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"
}, },
month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
@ -37,7 +37,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Date == 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "dddd', 'h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "dddd', 'h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT", full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>'dddd',' mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>'dddd',' mmm d',' yyyy'</small>'"
}, },
setLanguage: function(lang) { setLanguage: function(lang) {

4
source/js/Core/VMM.Library.js

@ -486,7 +486,7 @@ if(typeof VMM != 'undefined') {
} }
} }
}, }
} }
} }
@ -572,6 +572,6 @@ if( typeof( jQuery ) != 'undefined' ){
easeInOutQuad: function (x, t, b, c, d) { easeInOutQuad: function (x, t, b, c, d) {
if ((t/=d/2) < 1) return c/2*t*t + b; if ((t/=d/2) < 1) return c/2*t*t + b;
return -c/2 * ((--t)*(t-2) - 1) + b; return -c/2 * ((--t)*(t-2) - 1) + b;
}, }
}); });
} }

4
source/js/Core/VMM.Util.js

@ -454,7 +454,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
return split.join(''); return split.join('');
}, }
}; };
__TitleCase.init(); __TitleCase.init();
@ -466,7 +466,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Util == 'undefined') {
} }
}, }
}).init(); }).init();
} }

2
source/js/Core/VMM.js

@ -123,7 +123,7 @@ if (typeof VMM == 'undefined') {
}, },
api: { api: {
pushques: [], pushques: []
}, },

2
source/js/Embed/Embed.js

@ -46,7 +46,7 @@ function getScriptPath(scriptname) {
/* VARS /* VARS
================================================== */ ================================================== */
var timelinejs, t, te, x, isCDN = false, var timelinejs, t, te, x, isCDN = false,
timeline_js_version = "1.56", timeline_js_version = "1.58",
jquery_version_required = "1.7.1", jquery_version_required = "1.7.1",
jquery_version = "", jquery_version = "",
ready = { ready = {

51
source/js/Media/VMM.ExternalAPI.js

@ -66,7 +66,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
// TWEET MEDIA // TWEET MEDIA
if (typeof d.entities.media != 'undefined') { if (typeof d.entities.media != 'undefined') {
if (d.entities.media[0].type == "photo") { if (d.entities.media[0].type == "photo") {
twit += "<img src=' " + d.entities.media[0].media_url + "' alt=''>" //twit += "<img src=' " + d.entities.media[0].media_url + "' alt=''>"
} }
} }
@ -81,14 +81,14 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.attachElement("#tweet_"+tweet.id.toString(), twit ); VMM.attachElement("#"+tweet.id.toString(), twit );
VMM.attachElement("#text_thumb_"+tweet.id.toString(), d.text ); VMM.attachElement("#text_thumb_"+tweet.id.toString(), d.text );
}) })
.error(function(jqXHR, textStatus, errorThrown) { .error(function(jqXHR, textStatus, errorThrown) {
trace("TWITTER error"); trace("TWITTER error");
trace("TWITTER ERROR: " + textStatus + " " + jqXHR.responseText); trace("TWITTER ERROR: " + textStatus + " " + jqXHR.responseText);
VMM.attachElement("#tweet_"+tweet.id, "<p>ERROR LOADING TWEET " + tweet.mid + "</p>" ); VMM.attachElement("#"+tweet.id, "<p>ERROR LOADING TWEET " + tweet.mid + "</p>" );
}) })
.success(function(d) { .success(function(d) {
clearTimeout(twitter_timeout); clearTimeout(twitter_timeout);
@ -293,7 +293,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.attachElement("#twitter_"+id.toString(), twit ); VMM.attachElement("#twitter_"+id.toString(), twit );
VMM.attachElement("#text_thumb_"+id.toString(), d.text ); VMM.attachElement("#text_thumb_"+id.toString(), d.text );
}, }
}, },
@ -756,8 +756,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.getJSON(the_url, function(d) { VMM.getJSON(the_url, function(d) {
var flickr_id = d.sizes.size[0].url.split("photos\/")[1].split("/")[1]; var flickr_id = d.sizes.size[0].url.split("photos\/")[1].split("/")[1];
var flickr_large_id = "flickr_" + flick.id + "_large", var flickr_large_id = "#" + flick.id,
flickr_thumb_id = "flickr_" + flick.id + "_thumb"; flickr_thumb_id = "#" + flick.id + "_thumb";
//flickr_thumb_id = "flickr_" + uid + "_thumb"; //flickr_thumb_id = "flickr_" + uid + "_thumb";
var flickr_img_size, var flickr_img_size,
@ -778,8 +778,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
} }
flickr_img_thumb = d.sizes.size[0].source; flickr_img_thumb = d.sizes.size[0].source;
VMM.Lib.attr("#"+flickr_large_id, "src", flickr_img_size); VMM.Lib.attr(flickr_large_id, "src", flickr_img_size);
VMM.attachElement("#"+flickr_thumb_id, "<img src='" + flickr_img_thumb + "'>"); VMM.attachElement(flickr_thumb_id, "<img src='" + flickr_img_thumb + "'>");
}) })
.error(function(jqXHR, textStatus, errorThrown) { .error(function(jqXHR, textStatus, errorThrown) {
@ -848,14 +848,14 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
soundcloud: { soundcloud: {
get: function(url, id) { get: function(mid, id) {
var sound = {url: url, id: id}; var sound = {mid: mid, id: id};
VMM.master_config.soundcloud.que.push(sound); VMM.master_config.soundcloud.que.push(sound);
VMM.master_config.soundcloud.active = true; VMM.master_config.soundcloud.active = true;
}, },
create: function(sound, callback) { create: function(sound, callback) {
var the_url = "http://soundcloud.com/oembed?url=" + sound.url + "&format=js&callback=?"; var the_url = "http://soundcloud.com/oembed?url=" + sound.mid + "&format=js&callback=?";
VMM.getJSON(the_url, function(d) { VMM.getJSON(the_url, function(d) {
VMM.attachElement("#"+sound.id, d.html); VMM.attachElement("#"+sound.id, d.html);
callback(); callback();
@ -961,7 +961,7 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
VMM.master_config.wikipedia.que.remove(0); VMM.master_config.wikipedia.que.remove(0);
} }
}, }
}, },
@ -993,11 +993,11 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
var p = { var p = {
active: false, active: false,
player: {}, player: {},
name: 'youtube_'+vid.id, name: vid.id,
playing: false playing: false
}; };
p.player['youtube_'+vid.id] = new YT.Player('youtube_'+vid.id, { p.player[vid.id] = new YT.Player(vid.id, {
height: '390', height: '390',
width: '640', width: '640',
playerVars: { playerVars: {
@ -1022,8 +1022,8 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
trace(d); trace(d);
trace(vid); trace(vid);
if (typeof d.data != 'undefined') { if (typeof d.data != 'undefined') {
var thumb_id = "youtube_" + vid.id + "_thumb"; var thumb_id = "#" + vid.id + "_thumb";
VMM.attachElement("#" + thumb_id, "<img src='" + d.data.thumbnail.sqDefault + "'>"); VMM.attachElement(thumb_id, "<img src='" + d.data.thumbnail.sqDefault + "'>");
} }
}, },
@ -1069,26 +1069,27 @@ if(typeof VMM != 'undefined' && typeof VMM.ExternalAPI == 'undefined') {
vimeo: { vimeo: {
get: function(id) { get: function(mid, id) {
VMM.master_config.vimeo.que.push(id); var vid = {mid: mid, id: id};
VMM.master_config.vimeo.que.push(vid);
VMM.master_config.vimeo.active = true; VMM.master_config.vimeo.active = true;
}, },
create: function(d, callback) { create: function(vid, callback) {
trace("VIMEO CREATE"); trace("VIMEO CREATE");
// THUMBNAIL // THUMBNAIL
var url = "http://vimeo.com/api/v2/video/" + d + ".json"; var the_url = "http://vimeo.com/api/v2/video/" + vid.mid + ".json";
VMM.getJSON(url, function(d) { VMM.getJSON(the_url, function(d) {
VMM.ExternalAPI.vimeo.createThumb(d); VMM.ExternalAPI.vimeo.createThumb(d, vid);
callback(); callback();
}); });
}, },
createThumb: function(d) { createThumb: function(d, vid) {
trace("VIMEO CREATE THUMB"); trace("VIMEO CREATE THUMB");
var thumb_id = "vimeo_" + d[0].id + "_thumb"; var thumb_id = "#" + vid.id + "_thumb";
VMM.attachElement("#" + thumb_id, "<img src='" + d[0].thumbnail_small + "'>"); VMM.attachElement(thumb_id, "<img src='" + d[0].thumbnail_small + "'>");
}, },
pushQue: function() { pushQue: function() {

24
source/js/Media/VMM.MediaElement.js

@ -27,19 +27,19 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
mediaElem = "<div class='thumbnail thumb-photo'></div>"; mediaElem = "<div class='thumbnail thumb-photo'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "flickr") { } else if (m.type == "flickr") {
mediaElem = "<div class='thumbnail thumb-photo' id='flickr_" + uid + "_thumb'></div>"; mediaElem = "<div class='thumbnail thumb-photo' id='" + uid + "_thumb'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "instagram") { } else if (m.type == "instagram") {
mediaElem = "<div class='thumbnail thumb-instagram' id='instagram_" + m.id + "_thumb'><img src='" + VMM.ExternalAPI.instagram.get(m.id, true) + "'></div>"; mediaElem = "<div class='thumbnail thumb-instagram' id='" + uid + "_thumb'><img src='" + VMM.ExternalAPI.instagram.get(m.id, true) + "'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "youtube") { } else if (m.type == "youtube") {
mediaElem = "<div class='thumbnail thumb-youtube' id='youtube_" + uid + "_thumb'></div>"; mediaElem = "<div class='thumbnail thumb-youtube' id='" + uid + "_thumb'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "googledoc") { } else if (m.type == "googledoc") {
mediaElem = "<div class='thumbnail thumb-document'></div>"; mediaElem = "<div class='thumbnail thumb-document'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "vimeo") { } else if (m.type == "vimeo") {
mediaElem = "<div class='thumbnail thumb-vimeo' id='vimeo_" + m.id + "_thumb'></div>"; mediaElem = "<div class='thumbnail thumb-vimeo' id='" + uid + "_thumb'></div>";
return mediaElem; return mediaElem;
} else if (m.type == "dailymotion") { } else if (m.type == "dailymotion") {
mediaElem = "<div class='thumbnail thumb-video'></div>"; mediaElem = "<div class='thumbnail thumb-video'></div>";
@ -108,30 +108,30 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>"; mediaElem = "<div class='media-image media-shadow'><img src='" + m.id + "' class='media-image'></div>";
// FLICKR // FLICKR
} else if (m.type == "flickr") { } else if (m.type == "flickr") {
_id = "flickr_" + uid; mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img id='" + uid + "'></a></div>";
mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img id='" + _id + "_large" + "'></a></div>";
VMM.ExternalAPI.flickr.get(m.id, uid); VMM.ExternalAPI.flickr.get(m.id, uid);
// INSTAGRAM // INSTAGRAM
} else if (m.type == "instagram") { } else if (m.type == "instagram") {
mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img src='" + VMM.ExternalAPI.instagram.get(m.id) + "'></a></div>"; mediaElem = "<div class='media-image media-shadow'><a href='" + m.link + "' target='_blank'><img src='" + VMM.ExternalAPI.instagram.get(m.id) + "'></a></div>";
//VMM.ExternalAPI.instagram.get(m.id, uid);
// GOOGLE DOCS // GOOGLE DOCS
} else if (m.type == "googledoc") { } else if (m.type == "googledoc") {
mediaElem = "<div class='media-frame media-shadow doc' id='" + uid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='media-frame media-shadow doc' id='" + uid + "'>" + loading_messege + "</div>";
VMM.ExternalAPI.googledocs.get(m.id, uid); VMM.ExternalAPI.googledocs.get(m.id, uid);
// YOUTUBE // YOUTUBE
} else if (m.type == "youtube") { } else if (m.type == "youtube") {
mediaElem = "<div class='media-shadow'><div class='media-frame video youtube' id='youtube_" + uid + "'>" + loading_messege + "</div></div>"; mediaElem = "<div class='media-shadow'><div class='media-frame video youtube' id='" + uid + "'>" + loading_messege + "</div></div>";
VMM.ExternalAPI.youtube.get(m.id, uid); VMM.ExternalAPI.youtube.get(m.id, uid);
// VIMEO // VIMEO
} else if (m.type == "vimeo") { } else if (m.type == "vimeo") {
mediaElem = "<div class='media-shadow'><iframe class='media-frame video vimeo' autostart='false' frameborder='0' width='100%' height='100%' src='http://player.vimeo.com/video/" + m.id + "?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff'></iframe></div>"; mediaElem = "<div class='media-shadow'><iframe class='media-frame video vimeo' autostart='false' frameborder='0' width='100%' height='100%' src='http://player.vimeo.com/video/" + m.id + "?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff'></iframe></div>";
VMM.ExternalAPI.vimeo.get(m.id); VMM.ExternalAPI.vimeo.get(m.id, uid);
// DAILYMOTION // DAILYMOTION
} else if (m.type == "dailymotion") { } else if (m.type == "dailymotion") {
mediaElem = "<div class='media-shadow'><iframe class='media-frame video dailymotion' autostart='false' frameborder='0' width='100%' height='100%' src='http://www.dailymotion.com/embed/video/" + m.id + "'></iframe></div>"; mediaElem = "<div class='media-shadow'><iframe class='media-frame video dailymotion' autostart='false' frameborder='0' width='100%' height='100%' src='http://www.dailymotion.com/embed/video/" + m.id + "'></iframe></div>";
// TWITTER // TWITTER
} else if (m.type == "twitter"){ } else if (m.type == "twitter"){
mediaElem = "<div class='twitter' id='" + "tweet_" + uid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='twitter' id='" + uid + "'>" + loading_messege + "</div>";
isTextMedia = true; isTextMedia = true;
VMM.ExternalAPI.twitter.get(m.id, uid); VMM.ExternalAPI.twitter.get(m.id, uid);
// TWITTER // TWITTER
@ -151,12 +151,12 @@ if(typeof VMM != 'undefined' && typeof VMM.MediaElement == 'undefined') {
_id = "googleplus_" + m.id; _id = "googleplus_" + m.id;
mediaElem = "<div class='googleplus' id='" + _id + "'>" + loading_messege + "</div>"; mediaElem = "<div class='googleplus' id='" + _id + "'>" + loading_messege + "</div>";
isTextMedia = true; isTextMedia = true;
VMM.ExternalAPI.googleplus.get(m.user, m.id); VMM.ExternalAPI.googleplus.get(m.user, m.id, uid);
// WIKIPEDIA // WIKIPEDIA
} else if (m.type == "wikipedia") { } else if (m.type == "wikipedia") {
mediaElem = "<div class='wikipedia' id='" + m.uniqueid + "'>" + loading_messege + "</div>"; mediaElem = "<div class='wikipedia' id='" + uid + "'>" + loading_messege + "</div>";
isTextMedia = true; isTextMedia = true;
VMM.ExternalAPI.wikipedia.get(m.id, m.uniqueid, m.lang); VMM.ExternalAPI.wikipedia.get(m.id, uid, m.lang);
// STORIFY // STORIFY
} else if (m.type == "storify") { } else if (m.type == "storify") {
isTextMedia = true; isTextMedia = true;

4
source/js/VMM.Language.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Language == 'undefined') {
month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."], month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."],
day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
day_abbr: ["Sun.","Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."], day_abbr: ["Sun.","Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Language == 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "mmm d',' yyyy 'at' hh:MM TT", full_long: "mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Loading Timeline... ", loading_timeline: "Loading Timeline... ",

13
source/js/VMM.Timeline.js

@ -81,7 +81,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
timeline_id = "#timeline"; timeline_id = "#timeline";
} }
version = "1.56"; version = "1.58";
trace("TIMELINE VERSION " + version); trace("TIMELINE VERSION " + version);
@ -148,7 +148,7 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
content: { content: {
width: 720, width: 720,
height: 400, height: 400,
padding: 130, padding: 130
}, },
nav: { nav: {
width: 100, width: 100,
@ -346,10 +346,15 @@ if(typeof VMM != 'undefined' && typeof VMM.Timeline == 'undefined') {
/* GET DATA /* GET DATA
================================================== */ ================================================== */
if (VMM.Browser.browser == "Explorer" || VMM.Browser.browser == "MSIE") {
if ( parseInt(VMM.Browser.version, 10) <= 7 ) {
ie7 = true;
}
}
if (VMM.Browser.browser == "MSIE" && parseInt(VMM.Browser.version, 10) == 7) { if (ie7) {
ie7 = true; ie7 = true;
VMM.fireEvent(global, config.events.messege, "Internet Explorer 7 is not supported by #Timeline."); VMM.fireEvent(global, config.events.messege, "Internet Explorer " + VMM.Browser.version + " is not supported by TimelineJS. Please update your browser to version 8 or higher.");
} else { } else {
if (type.of(_data) == "string" || type.of(_data) == "object") { if (type.of(_data) == "string" || type.of(_data) == "object") {
VMM.Timeline.DataObj.getData(_data); VMM.Timeline.DataObj.getData(_data);

4
source/js/locale/cz.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["ledna", "února", "března", "dubna", "května", "června", "července", "srpna", "září", "října", "listopadu", "prosince"], month: ["ledna", "února", "března", "dubna", "května", "června", "července", "srpna", "září", "října", "listopadu", "prosince"],
month_abbr: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čen", "Čec", "Srp", "Zář", "Říj", "Lis", "Pro"], month_abbr: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čen", "Čec", "Srp", "Zář", "Říj", "Lis", "Pro"],
day: ["neděle","pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], day: ["neděle","pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"],
day_abbr: ["Ne","Po", "Út", "St", "Čt", "Pá", "So"], day_abbr: ["Ne","Po", "Út", "St", "Čt", "Pá", "So"]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "h:MM TT'<br/><small>'d. mmmm',' yyyy'</small>'", time_no_seconds_small_date: "h:MM TT'<br/><small>'d. mmmm',' yyyy'</small>'",
full_long: "d. mmm',' yyyy 'at' hh:MM TT", full_long: "d. mmm',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>d. mmm',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>d. mmm',' yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Načítám časovou osu... ", loading_timeline: "Načítám časovou osu... ",

4
source/js/locale/dk.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"], month: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
month_abbr: ["Jan.", "Feb.", "Marts", "April", "Maj", "Juni", "Juli", "Aug.", "Sept.", "Okt.", "Nov.", "Dec."], month_abbr: ["Jan.", "Feb.", "Marts", "April", "Maj", "Juni", "Juli", "Aug.", "Sept.", "Okt.", "Nov.", "Dec."],
day: ["Søndag","Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"], day: ["Søndag","Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"],
day_abbr: ["Sø.","Ma.", "Ti.", "On.", "To.", "Fr.", "L?."], day_abbr: ["Sø.","Ma.", "Ti.", "On.", "To.", "Fr.", "L?."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm',' yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm',' yyyy'</small>'",
full_long: "dddd',' d. mmm',' yyyy 'um' HH:MM", full_long: "dddd',' d. mmm',' yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d. mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d. mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Henter timeline... ", loading_timeline: "Henter timeline... ",

4
source/js/locale/en.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], month: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."], month_abbr: ["Jan.", "Feb.", "March", "April", "May", "June", "July", "Aug.", "Sept.", "Oct.", "Nov.", "Dec."],
day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], day: ["Sunday","Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
day_abbr: ["Sun.","Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."], day_abbr: ["Sun.","Mon.", "Tues.", "Wed.", "Thurs.", "Fri.", "Sat."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "h:MM TT", time_no_seconds_short: "h:MM TT",
time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "h:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "mmm d',' yyyy 'at' hh:MM TT", full_long: "mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>mmm d',' yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Loading Timeline... ", loading_timeline: "Loading Timeline... ",

2
source/js/locale/es.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"], month: ["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],
month_abbr: ["Ene.","Feb.","Mar.","Abr.","May.","Jun.","Jul.","Ago.","Sep.","Oct.","Nov.","Dic."], month_abbr: ["Ene.","Feb.","Mar.","Abr.","May.","Jun.","Jul.","Ago.","Sep.","Oct.","Nov.","Dic."],
day: ["Domingo","Lunes","Martes","iércoles","Jueves","Viernes","Sábado"], day: ["Domingo","Lunes","Martes","iércoles","Jueves","Viernes","Sábado"],
day_abbr: ["Dom.","Lun.","Mar.","Mié.","Jue.","Vie.","Sáb."], day_abbr: ["Dom.","Lun.","Mar.","Mié.","Jue.","Vie.","Sáb."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",

2
source/js/locale/fr.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"], month: ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"],
month_abbr: ["janv.", "févr.", "mars", "avril", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "dec."], month_abbr: ["janv.", "févr.", "mars", "avril", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "dec."],
day: ["dimanche","lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], day: ["dimanche","lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"],
day_abbr: ["dim.","lu.", "ma.", "me.", "jeu.", "vend.", "sam."], day_abbr: ["dim.","lu.", "ma.", "me.", "jeu.", "vend.", "sam."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",

4
source/js/locale/id.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"], month: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
month_abbr: ["Jan.", "Feb.", "Maret", "April", "Mei", "Juni", "July", "Agus.", "Sept.", "Okt.", "Nov.", "Des."], month_abbr: ["Jan.", "Feb.", "Maret", "April", "Mei", "Juni", "July", "Agus.", "Sept.", "Okt.", "Nov.", "Des."],
day: ["Ahad","Senin", "Selasa", "Rabu", "Kamis", "Jum'at", "Sabtu"], day: ["Ahad","Senin", "Selasa", "Rabu", "Kamis", "Jum'at", "Sabtu"],
day_abbr: ["Ahad","Sen.", "Sel.", "Rabu", "Kamis", "Jum.", "Sab."], day_abbr: ["Ahad","Sen.", "Sel.", "Rabu", "Kamis", "Jum.", "Sab."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'pukul' HH:MM", full_long: "dddd',' d mmm yyyy 'pukul' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Memuat Timeline... ", loading_timeline: "Memuat Timeline... ",

4
source/js/locale/is.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["janúar", "febrúar", "mars", "apríl", "maí", "júní", "júlí", "ágúst", "september", "október", "nóvember", "desember"], month: ["janúar", "febrúar", "mars", "apríl", "maí", "júní", "júlí", "ágúst", "september", "október", "nóvember", "desember"],
month_abbr: ["jan.", "feb.", "mars", "apríl", "maí", "júní", "júlí", "ágúst", "sept.", "okt.", "nóv.", "des."], month_abbr: ["jan.", "feb.", "mars", "apríl", "maí", "júní", "júlí", "ágúst", "sept.", "okt.", "nóv.", "des."],
day: ["sunnudagur", "mánudagur", "þriðjudagur", "miðvikudagur", "fimmtudagur", "föstudagur", "laugardagur"], day: ["sunnudagur", "mánudagur", "þriðjudagur", "miðvikudagur", "fimmtudagur", "föstudagur", "laugardagur"],
day_abbr: ["sun.","mán.", "þri.", "mið.", "fim.", "fös.", "lau."], day_abbr: ["sun.","mán.", "þri.", "mið.", "fim.", "fös.", "lau."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "hh:MM TT", time_no_seconds_short: "hh:MM TT",
time_no_seconds_small_date: "hh:MM TT'<br/><small>'mmmm d',' yyyy'</small>'", time_no_seconds_small_date: "hh:MM TT'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT", full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>'dddd',' mmm d',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>'dddd',' mmm d',' yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Raða upp tímalínu... ", loading_timeline: "Raða upp tímalínu... ",

4
source/js/locale/it.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settebre","Ottobre","Novembre","Dicembre"], month: ["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settebre","Ottobre","Novembre","Dicembre"],
month_abbr: ["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"], month_abbr: ["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],
day: ["Domenica","Lunedi","Martedi","Mercoledi","Giovedi","Venerdi","Sabato"], day: ["Domenica","Lunedi","Martedi","Mercoledi","Giovedi","Venerdi","Sabato"],
day_abbr: ["Dom.","Lun.","Mar.","Mer.","Gio.","Ven.","Sab."], day_abbr: ["Dom.","Lun.","Mar.","Mer.","Gio.","Ven.","Sab."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'um' HH:MM", full_long: "dddd',' d mmm yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Loading Timeline... ", loading_timeline: "Loading Timeline... ",

4
source/js/locale/kr.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"], month: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],
month_abbr: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"], month_abbr: ["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],
day: ["일요일" , "월요일" , "화요일" , "수요일" , "목요일" , "금요일" , "토요일"], day: ["일요일" , "월요일" , "화요일" , "수요일" , "목요일" , "금요일" , "토요일"],
day_abbr: ["일" , "월" , "화" , "수" , "목" , "금" , "토"], day_abbr: ["일" , "월" , "화" , "수" , "목" , "금" , "토"]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'um' HH:MM", full_long: "dddd',' d mmm yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Loading Timeline... ", loading_timeline: "Loading Timeline... ",

4
source/js/locale/nl.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"], month: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"],
month_abbr: ["jan", "febr", "ma", "apr", "mei", "juni", "juli", "aug", "sept", "okt", "nov", "dec"], month_abbr: ["jan", "febr", "ma", "apr", "mei", "juni", "juli", "aug", "sept", "okt", "nov", "dec"],
day: ["zondag","maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], day: ["zondag","maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"],
day_abbr: ["zo","ma", "di", "wo", "do", "vr", "za"], day_abbr: ["zo","ma", "di", "wo", "do", "vr", "za"]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'um' HH:MM", full_long: "dddd',' d mmm yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Tijdlijn laden ... ", loading_timeline: "Tijdlijn laden ... ",

4
source/js/locale/pl.js

@ -11,7 +11,7 @@ if(typeof VMM != 'undefined') {
month: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], month: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"],
month_abbr: ["Sty.", "Lut.", "Mar.", "Kwi.", "Maj.", "Cze.", "Lip.", "Sie.", "Wrz.", "Paź.", "Lis.", "Gru."], month_abbr: ["Sty.", "Lut.", "Mar.", "Kwi.", "Maj.", "Cze.", "Lip.", "Sie.", "Wrz.", "Paź.", "Lis.", "Gru."],
day: ["Niedziela","Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"], day: ["Niedziela","Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"],
day_abbr: ["Nie.", "Pon.","Wto.", "Śro.", "Czw.", "Pią.", "Sob."], day_abbr: ["Nie.", "Pon.","Wto.", "Śro.", "Czw.", "Pią.", "Sob."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -22,7 +22,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'um' HH:MM", full_long: "dddd',' d mmm yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Ładowanie Timeline... ", loading_timeline: "Ładowanie Timeline... ",

4
source/js/locale/pt-br.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], month: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
month_abbr: ["Jan.", "Fev.", "Mar.", "Abr.", "Mai.", "Jun.", "Jul.", "Ago.", "Set.", "Out.", "Nov.", "Dez."], month_abbr: ["Jan.", "Fev.", "Mar.", "Abr.", "Mai.", "Jun.", "Jul.", "Ago.", "Set.", "Out.", "Nov.", "Dez."],
day: ["Domingo","Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"], day: ["Domingo","Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado"],
day_abbr: ["Dom.","Seg.", "Ter.", "Qua.", "Qui.", "Sex.", "Sáb."], day_abbr: ["Dom.","Seg.", "Ter.", "Qua.", "Qui.", "Sex.", "Sáb."]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "hh:MM TT", time_no_seconds_short: "hh:MM TT",
time_no_seconds_small_date: "hh:MM TT'<br/><small>'d 'de' mmmm',' yyyy'</small>'", time_no_seconds_small_date: "hh:MM TT'<br/><small>'d 'de' mmmm',' yyyy'</small>'",
full_long: "dddd',' d 'de' mmm',' yyyy 'às' hh:MM TT", full_long: "dddd',' d 'de' mmm',' yyyy 'às' hh:MM TT",
full_long_small_date: "hh:MM TT'<br/><small>'dddd',' d 'de' mmm',' yyyy'</small>'", full_long_small_date: "hh:MM TT'<br/><small>'dddd',' d 'de' mmm',' yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Carregando Timeline... ", loading_timeline: "Carregando Timeline... ",

4
source/js/locale/zh-ch.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], month: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
month_abbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], month_abbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
day_abbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], day_abbr: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'um' HH:MM", full_long: "dddd',' d mmm yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "加载时间线... ", loading_timeline: "加载时间线... ",

4
source/js/locale/zh-tw.js

@ -10,7 +10,7 @@ if(typeof VMM != 'undefined') {
month: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], month: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
month_abbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], month_abbr: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], day: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
day_abbr: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"], day_abbr: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"]
}, },
dateformats: { dateformats: {
year: "yyyy", year: "yyyy",
@ -21,7 +21,7 @@ if(typeof VMM != 'undefined') {
time_no_seconds_short: "HH:MM", time_no_seconds_short: "HH:MM",
time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'", time_no_seconds_small_date: "HH:MM'<br/><small>'d mmmm yyyy'</small>'",
full_long: "dddd',' d mmm yyyy 'um' HH:MM", full_long: "dddd',' d mmm yyyy 'um' HH:MM",
full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'", full_long_small_date: "HH:MM'<br/><small>'dddd',' d mmm yyyy'</small>'"
}, },
messages: { messages: {
loading_timeline: "Loading Timeline... ", loading_timeline: "Loading Timeline... ",

Loading…
Cancel
Save