From e1b9ea1a6e20a5d3a1c9bc78e459dfbfdb4b1f9e Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 29 Dec 2013 22:57:30 -0500 Subject: shader picker --- js/asdf.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'js/asdf.js') diff --git a/js/asdf.js b/js/asdf.js index 0e173a1..2b929ac 100644 --- a/js/asdf.js +++ b/js/asdf.js @@ -20,7 +20,6 @@ asdf.fetch = function (opt){ 'data': params, 'dataType': "jsonp", 'success': function(urls){ - console.log(urls); asdf.fetching = false; opt.success && opt.success(urls) }, @@ -65,8 +64,7 @@ dumpfm.fetch = function(opt){ dumpfm.fetching = false; for (var i = 0, len = urls.length; i < len; i++) { var url = urls[i].url; - console.log(url) - if (url.match(/\/^\d+\//)) { + if (url.match(/^\/\d+\//)) { url = "http://dump.fm/images/" + url; } else { -- cgit v1.2.3-70-g09d2