Client modification : score bar blinking when finished

This commit is contained in:
Thomas FORGIONE
2015-10-01 15:24:32 +02:00
parent aa76fed43a
commit 3d007e8877
8 changed files with 74 additions and 27 deletions

View File

@@ -1,13 +1,8 @@
var hash = require('sha256');
var secretKey = require('../private.js').microSecretKey;
var campaignId = require('../private.js').microCampaignId;
module.exports = function(workerId, campaignId) {
if (campaignId === undefined) {
return 'mw-dummyvcode';
}
module.exports = function(workerId) {
return 'mw-' + hash(campaignId + workerId + secretKey);