2015-01-29 16:11:18 +03:00
|
|
|
// Restore the require/define
|
2015-01-22 22:49:39 +03:00
|
|
|
var require = $.fn.select2.amd.require;
|
|
|
|
var define = $.fn.select2.amd.define;
|
|
|
|
|
2015-01-29 16:11:18 +03:00
|
|
|
// Disable jQuery's binding to $
|
|
|
|
jQuery.noConflict();
|
|
|
|
|
2015-01-12 05:47:17 +03:00
|
|
|
var Utils = require('select2/utils');
|
|
|
|
|
|
|
|
function MockContainer () {
|
|
|
|
MockContainer.__super__.constructor.call(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
Utils.Extend(MockContainer, Utils.Observable);
|
|
|
|
|
|
|
|
MockContainer.prototype.isOpen = function () {
|
|
|
|
return this.isOpen;
|
|
|
|
};
|
2015-02-14 05:55:04 +03:00
|
|
|
|
2019-06-05 05:43:52 +03:00
|
|
|
define('qunit', function () {
|
|
|
|
return QUnit;
|
|
|
|
})
|