uawdijnntqw1x1x1
IP : 216.73.216.110
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
www
/
node_modules
/
raf
/
..
/
bootstrap-tagsinput
/
test
/
helpers.js
/
/
// Creates a new element from the given elementHtml in a sandbox before each // tests defined in the tests function. It initializes it as a tags input with // the given options. function testTagsInput(elementHtml, options, tests) { if (typeof options === 'function') { tests = options; options = undefined; } describe(elementHtml + ' (options: ' + JSON.stringify(options, function(name, value) { return (typeof value === "function") ? value.toString() : value; }) + ')', function() { beforeEach(function() { this.$sandbox = $('<div />').appendTo($('body')); this.$element = $(elementHtml).appendTo(this.$sandbox); this.$element.tagsinput(options); this.$tagsinput = $('.bootstrap-tagsinput', this.$sandbox); this.$tagsinput_input = $('input', this.$tagsinput); }); afterEach(function() { this.$element.tagsinput('destroy'); this.$sandbox.remove(); delete this.$tagsinput_input; delete this.$tagsinput; delete this.$sandbox; delete this.$element; }); tests(); }); } function hasFocus($elt) { return $elt.get(0) === document.activeElement; }
/home/emeraadmin/www/node_modules/raf/../bootstrap-tagsinput/test/helpers.js