Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
provides debugging support for CoffeeScript by matching JS lines to CS lines
CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets keyboard support
examples added bot.coffee (thx to Jann Horn for suggesting this as an example)
test
.gitignore ignore js files
README.md new video
command_line.coffee allow js to be passed in via stdin
cs_js_source_mapping.coffee refactor: extract create_match_for_prior_comment_lines
dashboard.coffee
file_utils.coffee remove node_modules hack
list_files.coffee extract render_file_list.coffee
render_file_list.coffee
side_by_side.coffee
static_website.coffee added menu

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.