Skip to content

Commit

Permalink
open node.js api in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Mar 8, 2010
1 parent 199b771 commit 48c36c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion coffee-mode.el
Expand Up @@ -158,6 +158,11 @@ print the compiled JavaScript.")
(interactive) (interactive)
(browse-url "http://jashkenas.github.com/coffee-script/")) (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 () (defun coffee-open-github ()
"Open browser to `coffee-mode' project on GithHub." "Open browser to `coffee-mode' project on GithHub."
(interactive) (interactive)
Expand All @@ -174,7 +179,8 @@ print the compiled JavaScript.")
["Compile Region" coffee-compile-region] ["Compile Region" coffee-compile-region]
["REPL" coffee-repl] ["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] ["coffee-mode on GitHub" coffee-open-github]
["Version" coffee-show-version] ["Version" coffee-show-version]
)) ))
Expand Down

0 comments on commit 48c36c1

Please sign in to comment.