projects
/
oweals
/
finalsclub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6971b5f
)
renamed nonce var hcourse
author
Seth Woodworth
<seth@sethish.com>
Sun, 15 Jan 2012 15:34:07 +0000
(10:34 -0500)
committer
Seth Woodworth
<seth@sethish.com>
Sun, 15 Jan 2012 15:34:07 +0000
(10:34 -0500)
models.js
patch
|
blob
|
history
diff --git
a/models.js
b/models.js
index ee349313c8d557f540c17676c056c4798a317f5b..bf83af792a49fdfb2deb3823378fb66088007ab5 100644
(file)
--- a/
models.js
+++ b/
models.js
@@
-180,7
+180,7
@@
var HarvardCourses = new Schema( {
});
HarvardCourses.virtual( 'sanitized' ).get(function() {
- var
class
= {
+ var
hcourse
= {
_id : this._id,
title : this.name,
field : this.field,
@@
-191,7
+191,7
@@
HarvardCourses.virtual( 'sanitized' ).get(function() {
room : this.room,
faculty : this.faculty
}
- return
class
+ return
hcourse
})
// courses