Remove unneeded resolved task shell path

This commit is contained in:
Kevin Sawicki
2013-03-12 13:05:51 -07:00
parent 82bfd83da1
commit 6699941da0

View File

@@ -11,8 +11,7 @@ class Task
start: ->
throw new Error("Task already started") if @worker?
taskShellPath = fs.resolveOnLoadPath('task-shell', ['js', 'coffee'])
blob = new Blob(["require('coffee-script'); require('#{taskShellPath}');"], type: 'text/javascript')
blob = new Blob(["require('coffee-script'); require('task-shell');"], type: 'text/javascript')
@worker = new Worker(URL.createObjectURL(blob))
@worker.onmessage = ({data}) =>
if @aborted