Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using hashlib2 instead of hashlib

  • Loading branch information...
commit 50deb96337fb75569fa1a727fa1eed232f99ed00 1 parent ef07daa
@zackster authored
View
5 README.markdown
@@ -58,11 +58,6 @@ To get project to run:
* `npm install geoip`
-* `git clone https://github.com/brainfucker/hashlib.git
- cd hashlib
- make
- sudo make install`
-
* `NODE_ENV=development node app.js`
* you also need to run the leaderboard calculator, which you should run as a separate process: `NODE_ENV=development node leaderboard.js`
View
2  authentication/auth-server.js
@@ -1,6 +1,6 @@
(function () {
"use strict";
- var hashlib = require('hashlib'),
+ var hashlib = require('hashlib2'),
createHash = require("../utils").createHash,
mysql = require('mysql'),
config = require("../config");
View
2  mergeStatic.js
@@ -5,7 +5,7 @@
uglify = require('uglify-js'),
sqwish = require('sqwish'),
config = require('./config'),
- hashlib = require('hashlib');
+ hashlib = require('hashlib2');
module.exports = function (finishCallback) {
var scripts = config.scripts;
View
2  package.json
@@ -36,7 +36,7 @@
"marked": "0.2.1",
"jade": "0.20.3",
"http-digest": "0.1.0",
- "hashlib": "1.0.2",
+ "hashlib2": "1.0.3",
"geoip": "0.4.5",
"express": "2.5.8",
"dnode": "0.9.6",
View
2  utils.js
@@ -3,7 +3,7 @@
/*global setTimeout: false */
- var hashlib = require('hashlib');
+ var hashlib = require('hashlib2');
/**
* Generate a 4-character random hex string
Please sign in to comment.
Something went wrong with that request. Please try again.