Yepnope::add_test
Add a yepnope test
Signature
Parameters
$test
—
string
- The test to be run
$yep
—
object
- File(s) to be loaded if the test passes
$nope
—
object
- File(s) to be loaded if the test fails
$load
—
object
- File(s) to be loaded regardless of the test outcome
$callback
—
object
- A function called for each resource loaded
$complete
—
object
- A function called once when all resources have been loaded
$id
—
object
- A unique identifier for the test
Returns
- void