1
0
mirror of synced 2024-11-30 00:26:03 +03:00
select2/tests/helpers.js

19 lines
404 B
JavaScript
Raw Normal View History

// Restore the require/define
2015-01-22 22:49:39 +03:00
var require = $.fn.select2.amd.require;
var define = $.fn.select2.amd.define;
// Disable jQuery's binding to $
jQuery.noConflict();
var Utils = require('select2/utils');
function MockContainer () {
MockContainer.__super__.constructor.call(this);
}
Utils.Extend(MockContainer, Utils.Observable);
MockContainer.prototype.isOpen = function () {
return this.isOpen;
};