fix indenting etc
This commit is contained in:
parent
1e830e8439
commit
8542caec04
@ -11,7 +11,7 @@ import {
|
|||||||
var superadmins = [
|
var superadmins = [
|
||||||
"ybq987@gmail.com",
|
"ybq987@gmail.com",
|
||||||
"ksjdragon@gmail.com",
|
"ksjdragon@gmail.com",
|
||||||
"aravagarwal3073@gmail.com"
|
//"aravagarwal3073@gmail.com"
|
||||||
];
|
];
|
||||||
|
|
||||||
var worktype = ["test", "quiz", "project", "normal", "other"];
|
var worktype = ["test", "quiz", "project", "normal", "other"];
|
||||||
@ -397,8 +397,8 @@ Meteor.methods({
|
|||||||
_.contains(foundsubs, Meteor.userId()) &&
|
_.contains(foundsubs, Meteor.userId()) &&
|
||||||
_.contains(currentclass.banned, Meteor.userId())) {
|
_.contains(currentclass.banned, Meteor.userId())) {
|
||||||
var commentInfo = {
|
var commentInfo = {
|
||||||
"comment":input[0],
|
"comment": input[0],
|
||||||
"user":user,
|
"user": user,
|
||||||
"date": new Date()
|
"date": new Date()
|
||||||
};
|
};
|
||||||
var comments = workobject.comments.concat(commentInfo);
|
var comments = workobject.comments.concat(commentInfo);
|
||||||
@ -508,7 +508,9 @@ Meteor.methods({
|
|||||||
profile: current
|
profile: current
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return classes.find({_id: null});
|
return classes.find({
|
||||||
|
_id: null
|
||||||
|
});
|
||||||
},
|
},
|
||||||
'joinClass': function(input) {
|
'joinClass': function(input) {
|
||||||
var change = input[0];
|
var change = input[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user