Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
provides debugging support for CoffeeScript by matching JS lines to CS lines
CoffeeScript
tree: fb260ca58d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
examples
test
.gitignore
README.md
command_line.coffee
cs_js_source_mapping.coffee
dashboard.coffee
file_utils.coffee
list_files.coffee
render_file_list.coffee
side_by_side.coffee

README.md

CS/JS Code Browser

This project lets you see CS and JS code side by side, with lines matched up.

If you would like a tour of the tool, there is a screencast w/audio:

http://www.youtube.com/watch?v=dEze_TaORJs&feature=youtu.be (running time 8:54)

Or, just jump in!

Instructions

  1. Download: git clone git://github.com/showell/CoffeeScriptLineMatcher.git
  2. Find a directory that has .coffee and .js files in it.
  3. (There's an examples directory in this repo; just run "find . -name '*.coffee' | xargs coffee -c" to get js files.)
  4. Launch the web server, supplying the directory and port number as command line parameters: "node dashboard.js . 3000"
  5. View your CS and JS code in the browser.

Example Usage

  /tmp > git clone git://github.com/showell/CoffeeScriptLineMatcher.git
  Cloning into CoffeeScriptLineMatcher...
  [snip...]

  /tmp > cd CoffeeScriptLineMatcher/

  /tmp/CoffeeScriptLineMatcher > find . -name '*.coffee' | xargs coffee -c

  /tmp/CoffeeScriptLineMatcher > node dashboard.js . 3000
  Server running at http://localhost:3000/
Something went wrong with that request. Please try again.