--- a/src/js/utils.js Mon Sep 30 14:39:34 2013 +0200
+++ b/src/js/utils.js Tue Oct 01 15:41:46 2013 +0200
@@ -58,10 +58,10 @@
}
addToList(/(https?:\/\/)?[\w\d\-]+\.[\w\d\-]+\S+/gm, function(matches) {
- return '<a href="' + (matches[1] ? '' : 'http://') + matches[0] + '" target="_blank">'
+ return '<a href="' + (matches[1] ? '' : 'http://') + matches[0] + '" target="_blank">';
}, '</a>');
addToList(/@([\d\w]{1,15})/gm, function(matches) {
- return '<a href="http://twitter.com/' + matches[1] + '" target="_blank">'
+ return '<a href="http://twitter.com/' + matches[1] + '" target="_blank">';
}, '</a>');
addToList(/\*[^*]+\*/gm, '<b>', '</b>');
addToList(/[\n\r]+/gm, '', '<br />');
@@ -73,7 +73,7 @@
positions = IriSP._(positions)
.chain()
.uniq()
- .sortBy(function(p) { return parseInt(p) })
+ .sortBy(function(p) { return parseInt(p); })
.value();
var res = "", lastIndex = 0;
@@ -127,6 +127,6 @@
var _this = this,
noop = (function() {});
IriSP._(properties).each(function(p) {
- _this[p] = noop
+ _this[p] = noop;
});
-}
+};