From f20708bcfd2aebb90b6b847b2bb97829250338ff Mon Sep 17 00:00:00 2001 From: ec2-user Date: Mon, 14 Nov 2011 23:07:51 +0000 Subject: [PATCH] remove empty lines --- app.js | 3 +- public/index.html | 55 +-------------- public/javascripts/main.js | 136 +++---------------------------------- 3 files changed, 14 insertions(+), 180 deletions(-) diff --git a/app.js b/app.js index 2799c58..cb332c3 100644 --- a/app.js +++ b/app.js @@ -1632,9 +1632,10 @@ app.get( '/archive/course/:id', checkAjax, loadUser, loadOldCourse, function( re }) app.get( '/archive/note/:id', checkAjax, loadUser, function( req, res ) { + console.log( "id="+req.params.id) ArchivedNote.findById(req.params.id, function(err, note) { if ( err ) { - sendJson(res, {status: 'error', message: 'This is not a valid id for a note'} ); + sendJson(res, {status: 'error', message: 'This is not a valid id for a note', err:err } ); } else { ArchivedCourse.findOne({id: note.course_id}, function(err, course) { if ( err ) { diff --git a/public/index.html b/public/index.html index d99afa2..17d9028 100644 --- a/public/index.html +++ b/public/index.html @@ -1,23 +1,19 @@ FinalsClub.org - @@ -31,9 +27,7 @@ - -
 
@@ -60,18 +54,11 @@
- -
- - - - -
@@ -94,11 +81,8 @@
-
- -

Universities

@@ -107,8 +91,6 @@
- -

Courses for

@@ -119,8 +101,6 @@
- -

Lectures for Course __number__ : __name__

@@ -138,8 +118,6 @@
- -

Notepads

@@ -149,8 +127,6 @@
- -

Archived Subjects

@@ -162,11 +138,8 @@ __name__ -

- -

Archived Courses

-
- -

Archived Notes

    @@ -188,17 +158,14 @@
- -

__topic__

__text__
+
__err__
- -

Create an Account

@@ -272,8 +239,6 @@
- -

Login

@@ -317,7 +282,6 @@
-

Code of Conduct

@@ -334,9 +298,6 @@
- - -

FinalsClub in the Press

@@ -368,23 +329,12 @@

- - - -

Page Not Found

Sorry, there is no content for this page.
- - - -
- - -