diff -r 7e18d953a1f8 -r 392ddcd212d7 src/js/utils.js --- 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 '' + return ''; }, ''); addToList(/@([\d\w]{1,15})/gm, function(matches) { - return '' + return ''; }, ''); addToList(/\*[^*]+\*/gm, '', ''); addToList(/[\n\r]+/gm, '', '
'); @@ -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; }); -} +};