Permalink
Browse files

Cleanup unused code

  • Loading branch information...
1 parent 5761b72 commit fbe78c7bb742a7742f8e9a6daf5ad815222e6e55 @Constellation committed Feb 7, 2014
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/instrumenter.coffee
View
@@ -22,20 +22,10 @@
coffee = require 'coffee-script-redux'
istanbul = require 'istanbul'
-crypto = require 'crypto'
escodegen = require 'escodegen'
estraverse = require 'estraverse'
_ = require 'lodash'
-generateTrackerVar = (filename, omitSuffix) ->
- if omitSuffix
- return '__cov_'
- hash = crypto.createHash 'md5'
- hash.update filename
- suffix = hash.digest 'base64'
- suffix = suffix.replace(/\=/g, '').replace(/\+/g, '_').replace(/\//g, '$')
- "__cov_#{suffix}"
-
class StructuredCode
constructor: (code) ->
@cursors = @generateOffsets code

0 comments on commit fbe78c7

Please sign in to comment.