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

constructor(someConstructorFunction) not referenced in associated example #213

Closed
chrisneave opened this issue Mar 18, 2017 · 1 comment
Closed

Comments

@chrisneave
Copy link

In the constructor(someConstructorFunction) section of the documentation, the second code block does not use the described td.constructor() function to create FakeDog. Instead it uses td.object().

Is this a typo or is td.constructor() not meant to be used in this context?

@searls
Copy link
Member

searls commented Mar 18, 2017

Typo. The public API changed in 2.x and I missed this example. thanks!

@searls searls closed this as completed in 81a8793 Mar 18, 2017
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