Skip to content

Commit

Permalink
Remove some now unused dep usage (#1091)
Browse files Browse the repository at this point in the history
Post #1069 and post #1090 

Auto-merge
  • Loading branch information
Martii authored Apr 21, 2017
1 parent d5cbc31 commit 5e61571
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions controllers/scriptStorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ var isDbg = require('../libs/debug').isDbg;

//--- Dependency inclusions
var fs = require('fs');
var util = require('util');
var _ = require('underscore');
var URL = require('url');
var crypto = require('crypto');
Expand Down Expand Up @@ -121,17 +120,6 @@ if (isPro) {
});
}

//
// Get UglifyJS2 installation datestamp once
//
// When the harmony branch is incorporated into master the cache date of the file
// would be more accurate and the eTag could be that hash as well
//
var stats = fs.statSync("./node_modules/uglify-js-harmony/package.json");
var mtimeUglifyJS2 = new Date(util.inspect(stats.mtime));



// Brute initialization
var store = null;
if (isPro) {
Expand Down

0 comments on commit 5e61571

Please sign in to comment.