Skip to content

Added function regex for (top level) coffeescript functions#1

Open
rwilcox wants to merge 1 commit intoascarter:masterfrom
rwilcox:master
Open

Added function regex for (top level) coffeescript functions#1
rwilcox wants to merge 1 commit intoascarter:masterfrom
rwilcox:master

Conversation

@rwilcox
Copy link
Copy Markdown

@rwilcox rwilcox commented Feb 11, 2012

This commit lets (top level) coffeescript functions to show up on the function menu in BBEdit, and be folded.

By top level I mean "functions not within other functions". So given the following functions

circumference = (r) ->
pi ->
return 3.14
pi * (r^2)

We will match circumference, but NOT pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant