gjtorikian / biscotto

UNMAINTAINED. CoffeeScript API documentation tool that uses TomDoc notation.
https://gjtorikian.github.io/biscotto/
MIT License
105 stars 18 forks source link

Bring prototypical methods inline with the rest of an existing class #52

Closed gjtorikian closed 10 years ago

gjtorikian commented 10 years ago

Closes https://github.com/atom/biscotto/issues/28.

Previously something like

# Public: Here's a class.
class Foo
  # Here's a method, baz.
  baz: () -> 'baz'

# Public: Here is a method on Foo, called bar.
Foo::bar = () -> 'bar'

would've placed the bar outside of the Foo class. No more! This now bring "File" type definitions into previously defined classes.