mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
tweaks
This commit is contained in:
parent
d2dcaf23bc
commit
cc61f38d7c
4 changed files with 13 additions and 9 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 68dafc94c5f1eb6cf2350ee74e9f65130f665bc5
|
||||
Subproject commit 16cf8a26218ae4650eb36b25ee55c2b5f6a71a31
|
|
@ -20,7 +20,7 @@ var updateScore = function (collection, id) {
|
|||
};
|
||||
|
||||
Meteor.startup(function () {
|
||||
var scoreInterval = getSetting("scoreInterval") || 30;
|
||||
var scoreInterval = getSetting("scoreUpdateInterval") || 30;
|
||||
// recalculate scores every N seconds
|
||||
if(scoreInterval>0){
|
||||
intervalId=Meteor.setInterval(function () {
|
||||
|
|
|
@ -34,5 +34,9 @@ Meteor.methods({
|
|||
},
|
||||
numberOfCommentsToday: function(){
|
||||
console.log(numberOfItemsInPast24Hours(Meteor.user(), Comments));
|
||||
},
|
||||
testEmail: function(){
|
||||
console.log('////////////////email test…');
|
||||
Email.send({from: 'info@sachagreif.com', to: 'sacha357@gmail.com', subject: 'mailgun test', text: 'lorem ipsum dolor'});
|
||||
}
|
||||
});
|
14
smart.lock
14
smart.lock
|
@ -2,7 +2,7 @@
|
|||
"meteor": {
|
||||
"git": "https://github.com/meteor/meteor.git",
|
||||
"branch": "master",
|
||||
"commit": "68dafc94c5f1eb6cf2350ee74e9f65130f665bc5"
|
||||
"commit": "16cf8a26218ae4650eb36b25ee55c2b5f6a71a31"
|
||||
},
|
||||
"dependencies": {
|
||||
"basePackages": {
|
||||
|
@ -12,18 +12,18 @@
|
|||
"packages": {
|
||||
"router": {
|
||||
"git": "https://github.com/tmeasday/meteor-router.git",
|
||||
"tag": "v0.1.1",
|
||||
"commit": "bb806c51efe3686a8da6628269aa67a269a4e076"
|
||||
"tag": "v0.2.4",
|
||||
"commit": "edd0ad39c66a94536859bd322ea13135afebef0b"
|
||||
},
|
||||
"moment": {
|
||||
"git": "https://github.com/possibilities/meteor-moment.git",
|
||||
"tag": "v1.7.0",
|
||||
"commit": "c64b6ec0e714b9556f4b6643d430b868ba69d3d7"
|
||||
},
|
||||
"deps-extensions": {
|
||||
"git": "https://github.com/tmeasday/meteor-deps-extensions.git",
|
||||
"tag": "v0.1.0",
|
||||
"commit": "110462c0ba33aaeb35e55069134287325cc453e5"
|
||||
"page-js": {
|
||||
"git": "https://github.com/tmeasday/meteor-page-js.git",
|
||||
"tag": "v1.3.1",
|
||||
"commit": "ee0b651869928abe50b5d06d7f32ccd2e657883a"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue