]> git.quilime.com - visual-archive.git/commitdiff
Cleaned up some JS
authorGabriel Dunne <gdunne@quilime.com>
Sat, 23 Mar 2013 03:27:53 +0000 (20:27 -0700)
committerGabriel Dunne <gdunne@quilime.com>
Sat, 23 Mar 2013 03:27:53 +0000 (20:27 -0700)
app.js
public/js/script.js

diff --git a/app.js b/app.js
index 161f275fe0db2e337501fb08a767f5c92f901992..4425927cdbe18e1bd6b1304553c2ab054ca7c3c6 100644 (file)
--- a/app.js
+++ b/app.js
@@ -13,7 +13,7 @@ app.configure(function(){
   app.set('views', __dirname + '/views');
   app.set('view engine', 'ejs');
   app.use(express.favicon());
-  app.use(express.logger('dev'));
+  //app.use(express.logger('dev'));
   app.use(express.bodyParser());
   app.use(express.methodOverride());
   // app.use(express.session());
index 8f68e8221d0a8ae7ccc28ad32af4d8180445b022..f7d0c79992d5565f3cb7739ca0ab41640e1b91db 100644 (file)
@@ -39,29 +39,16 @@ $(document).ready(function() {
         $.getJSON('/thumbs/?url=' + thumbs_url, function(data) {
           $('#subcontent .container').empty();
           var destElem = '#subcontent .container';
-
-          // $('<div/>', {
-          //   'class' : 'desc',
-          //   html : '<p><a target="_blank" href="' + data.url + '"> ' + data.url + ' </a></p>'
-          // }).appendTo(destElem);
-
           $('<ul/>', {
             'class': 'thumbs',
             html: ""
           }).appendTo(destElem);
-
           $.each(data.links, function(key, thumb) {
             $('<li><a target="_blank" href="'+thumb.url+'"><img src="' + thumb.img + '"></a></li>')
               .appendTo(destElem + ' ul.thumbs')
           });
-
         });
 
-        // $.load("/proxy/?url=" + thumbs_url + ' div.box div ', function(response, status, xhr) {
-        //   // alert('Load was performed.');
-        //   console.log(response);
-        // });
-
       });
       return false;
     });
@@ -82,6 +69,3 @@ var scrim = function(visible, callback) {
   else
     s.fadeOut(150, callback);
 }
-
-
-//onmouseout="this.src=\'prelinger_static/'+t+'\'" onmouseover="this.src=\'prelinger/'+t+'\'"