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
Is there an ES5 example somewhere? Thanks
var AbilityBuilder = require('casl'); AbilityBuilder.define... // Does not exist
The text was updated successfully, but these errors were encountered:
@kokujin here is a correct way to use it:
var casl = require('casl'); casl.AbilityBuilder.define()
or
var AbilityBuilder = require('casl').AbilityBuilder; AbilityBuilder.define()
Sorry, something went wrong.
Added a separate page explaining support for different js dialects with examples: https://stalniy.github.io/casl/abilities/2017/12/18/dialect-support.html
Let me know if you need more information.
Thanks for using CASL!
No branches or pull requests
Is there an ES5 example somewhere? Thanks
The text was updated successfully, but these errors were encountered: