update js and version number to 0.1.1 V00.01.01
authorcavaliet
Tue, 18 Jun 2013 12:20:53 +0200
changeset 132 2494ed5d722a
parent 131 6ca3d309d1da
child 133 9b427d3dc919
update js and version number to 0.1.1
src/metadatacomposer/__init__.py
src/metadatacomposer/static/metadatacomposer/js/metadataplayer-core.js
--- a/src/metadatacomposer/__init__.py	Tue Jun 18 11:15:30 2013 +0200
+++ b/src/metadatacomposer/__init__.py	Tue Jun 18 12:20:53 2013 +0200
@@ -1,4 +1,4 @@
-VERSION = (0, 1, 0, "final", 0)
+VERSION = (0, 1, 1, "final", 0)
 
 
 def get_version():
--- a/src/metadatacomposer/static/metadatacomposer/js/metadataplayer-core.js	Tue Jun 18 11:15:30 2013 +0200
+++ b/src/metadatacomposer/static/metadatacomposer/js/metadataplayer-core.js	Tue Jun 18 12:20:53 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, '<span class="Ldt-Highlight">', '</span>');
     }
     
-    addToList(/(https?:\/\/)?\w+\.\w+\S+/gm, function(matches) {
+    addToList(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm, function(matches) {
         return '<a href="' + (matches[1] ? '' : 'http://') + matches[0] + '" target="_blank">'
     }, '</a>');
     addToList(/@([\d\w]{1,15})/gm, function(matches) {