(function (chaiJquery) { // Module systems magic dance. if (typeof require === "function" && typeof exports === "object" && typeof module === "object") { // NodeJS module.exports = chaiJquery; } else if (typeof define === "function" && define.amd) { // AMD define(['jquery'], function ($) { return function (chai, utils) { return chaiJquery(chai, utils, $); }; }); } else { // Other environment (usually