 		@_onInvalidateCallbacks = []
 		@_recomputing = false
 		
-		Deps.currentComputationVar.withValue @, =>
+		Tracker.currentComputationVar.withValue @, =>
 			@_func = Meteor.bindEnvironment(f, null, @)
 		
 		errored = true

				console.log e
		@_recomputing = false
		
class Deps.Dependency
	constructor: ->
		@_dependentsById = {}
	
	depend: (computation = Deps.currentComputation) ->
		if not computation
			return false
		

		if typeof f != "function"
			throw new Error("onInvalidate requires a function")
		
		f = Tracker._makeNonreactive(Meteor.bindEnvironment(f, null, @))
		
		if @invalidated
			f()
