A helper for setting attributes on an object in advance.
import Quirk from "quirk";
const quirk = new Quirk;
quirk.saySomething(); // will output "Something"
Every build and release is automatically tested on the following platforms:
If your platform is not listed above, you can test your local environment for compatibility by copying and pasting the following commands into your terminal:
npm install quirk
cd node_modules/quirk
gulp test-local
Copy and paste the following command into your terminal to install Quirk:
npm install quirk --save
// ES6
import quirk from "quirk";
// ES5
var quirk = require("quirk");
// Require.js
define(["require"] , function (require) {
var quirk = require("quirk");
});
In order to say something, you should know that quirk()
... (add your test here)
See something that could use improvement? Have a great feature idea? We listen!
You can submit your ideas through our issues system, or make the modifications yourself and submit them to us in the form of a GitHub pull request.
We always aim to be friendly and helpful.
It's easy to run the test suite locally, and highly recommended if you're using Quirk.js on a platform we aren't automatically testing for.
npm test