diff -r a60a450b8f3b -r 603ffa4c6fa5 client/js/list-bin.js --- a/client/js/list-bin.js Tue Apr 23 22:30:09 2013 +0200 +++ b/client/js/list-bin.js Tue Apr 23 22:53:01 2013 +0200 @@ -18,7 +18,7 @@ this.data = _opts.list; } this.refresh(); -} +}; Rkns.ResourceList.Bin.prototype.render = function(searchstr) { if (searchstr) { @@ -38,7 +38,7 @@ Rkns._(this.data).each(function(_item) { if (typeof _item === "string") { if (/^(https?:\/\/|www)/.test(_item)) { - var _element = { url: _item } + var _element = { url: _item }; } else { var _element = { title: _item.replace(/[:,]?\s?(https?:\/\/|www)[\d\w\/.&?=#%-_]+\s?/,'').trim() }, _match = _item.match(/(https?:\/\/|www)[\d\w\/.&?=#%-_]+/); @@ -86,10 +86,10 @@ this.$.show(); } this.renkan.resizeBins(); -} +}; Rkns.ResourceList.Bin.prototype.refresh = function() { if (this.data) { this.render(); } -} \ No newline at end of file +}; \ No newline at end of file