Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

open node.js api in browser

  • Loading branch information...
commit 48c36c10770bf5e1e51655c67780738d9222d032 1 parent 199b771
@defunkt authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 coffee-mode.el
View
8 coffee-mode.el
@@ -158,6 +158,11 @@ print the compiled JavaScript.")
(interactive)
(browse-url "http://jashkenas.github.com/coffee-script/"))
+(defun coffee-open-node-reference ()
+ "Open browser to node.js reference."
+ (interactive)
+ (browse-url "http://nodejs.org/api.html"))
+
(defun coffee-open-github ()
"Open browser to `coffee-mode' project on GithHub."
(interactive)
@@ -174,7 +179,8 @@ print the compiled JavaScript.")
["Compile Region" coffee-compile-region]
["REPL" coffee-repl]
"---"
- ["CoffeeScript reference" coffee-open-reference]
+ ["CoffeeScript Reference" coffee-open-reference]
+ ["node.js Reference" coffee-open-node-reference]
["coffee-mode on GitHub" coffee-open-github]
["Version" coffee-show-version]
))
Please sign in to comment.
Something went wrong with that request. Please try again.