We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In docs/core/extension.md, the factory example is :
exports.factory = function (type, config, load, typed) { var add = load(require('mathjs/lib/function/arithmetic/add')); return myFunction (a, b) { // ... } };
That can't be right. "return foo(args) { ... }" is not a valid syntax.
Was it instead
return function (a, b) { // ... }
?
or
return function myFunction (a, b) { // ... }
The text was updated successfully, but these errors were encountered:
Thanks! Fixed via 9bb441b
Sorry, something went wrong.
9bb441b
No branches or pull requests
In docs/core/extension.md, the factory example is :
That can't be right. "return foo(args) { ... }" is not a valid syntax.
Was it instead
?
or
?
The text was updated successfully, but these errors were encountered: