[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
pmbku
/
assets
/
bower_components
/
bootstrap-datepicker
/
tests
/
suites
/
[
Home
]
File: methods_jquery.js
module('Methods (jQuery)', { setup: function(){ this.$inputs = $('<input><input>') .datepicker() .appendTo('#qunit-fixture'); }, teardown: function(){ this.$inputs.each(function(){ $.data(this, 'datepicker').picker.remove(); }); } }); test('Methods', function(){ [ 'show', 'hide', 'setValue', 'place' ].forEach($.proxy(function(index, value){ var returnedObject = this.$inputs.datepicker(value); strictEqual(returnedObject, this.$inputs, "is jQuery element"); strictEqual(returnedObject.length, 2, "correct length of jQuery elements"); }, this)); });