# HG changeset patch
# User veltr
# Date 1371546930 -7200
# Node ID 6ca3d309d1dacbb24f76dc0b5512f145f4ece92b
# Parent 443d8d500a66770a983769d071b12f88b2809e99
mdp update
diff -r 443d8d500a66 -r 6ca3d309d1da integration/js/metadataplayer-core.js
--- a/integration/js/metadataplayer-core.js Tue Jun 11 18:17:18 2013 +0200
+++ b/integration/js/metadataplayer-core.js Tue Jun 18 11:15:30 2013 +0200
@@ -27,7 +27,9 @@
/* Initialization of the namespace */
if (typeof window.IriSP === "undefined") {
- window.IriSP = {};
+ window.IriSP = {
+ VERSION: "0.3.1"
+ };
}
if (typeof IriSP.jQuery === "undefined" && typeof window.jQuery !== "undefined" && parseFloat(window.jQuery().jquery) >= 1.7) {
@@ -96,7 +98,7 @@
addToList(_regexp, '', '');
}
- addToList(/(https?:\/\/)?\w+\.\w+\S+/gm, function(matches) {
+ addToList(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm, function(matches) {
return ''
}, '');
addToList(/@([\d\w]{1,15})/gm, function(matches) {