fixed bug which prevented finding mentions in text + version bump

This commit is contained in:
Jeena Paradies 2013-01-09 01:29:07 +01:00
parent ddbd7a3edd
commit 919ba97744
4 changed files with 17 additions and 10 deletions

View file

@ -593,7 +593,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
var text = node.innerHTML;
var mentions_in_text = [];
var res = text.match(/(\^[\w]+\.[\w:/.]+)/ig);
var res = text.match(/(\^[\w:/.]+)/ig);
if (res) {
for (var i = 0; i < res.length; i++) {
@ -680,7 +680,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
})
}
var res = text.match(/(\^[\w]+\.[\w:/.]+)/ig);
var res = text.match(/(\^[\w:/]+\.[\w:/.]+)/ig);
if (res) {
for (var i = 0; i < res.length; i++) {
@ -693,6 +693,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
}
}
}
return mentions;
}