Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs make no distinction between static and instance methods #34

Open
cspotcode opened this issue Sep 1, 2014 · 1 comment
Open

Docs make no distinction between static and instance methods #34

cspotcode opened this issue Sep 1, 2014 · 1 comment

Comments

@cspotcode
Copy link

The documentation does not distinguish between static and instance methods, making pages like this confusing:
http://www.collectionsjs.com/object

For example, there are two clone methods:

  • the static method: Object.clone(object, depth, memo)
  • and the instance method: someCollection.clone(depth, memo)

Only the latter is shown on the documentation for Object. However, only the former is actually implemented for Object. The latter is only available on collections.

Perhaps I'm mistaken? I'm just starting to read through the documentation to grok this library.

@Stuk
Copy link
Contributor

Stuk commented Sep 17, 2014

Yes, you are correct, Object.clone exists, but Object.prototype.clone does not, and so I've removed it from the docs in 3e8726b.

We'll add static methods when we next get a chance to work on the site.

Thank you very much for your report!!

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

No branches or pull requests

2 participants