Class: Celerity::JavascriptDebugger

Inherits:
Object
  • Object
show all
Defined in:
lib/celerity/javascript_debugger.rb

Instance Method Summary collapse

Instance Method Details

#getFrame(ctx, script) ⇒ Object


9
10
11
# File 'lib/celerity/javascript_debugger.rb', line 9

def getFrame(ctx, script)
  p debug_info_for(script)
end

#handleCompilationDone(ctx, script, source) ⇒ Object


5
6
7
# File 'lib/celerity/javascript_debugger.rb', line 5

def handleCompilationDone(ctx, script, source)
  p debug_info_for(script).merge(:source_code => source)
end