Skip to content

Instantly share code, notes, and snippets.

@axtec
Created December 7, 2011 17:15
Show Gist options
  • Save axtec/1443647 to your computer and use it in GitHub Desktop.
Save axtec/1443647 to your computer and use it in GitHub Desktop.
TextMate Run JavaScript
/System/Library/Frameworks/JavaScriptCore.framework/Versions/Current/Resources/jsc "$TM_FILEPATH" | ruby -e 'puts "<pre>#{STDIN.read}</pre>"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment