PHP Classes

File: public/assets/bower_components/bootstrap-datepicker/tests/suites/methods_jquery.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   public/assets/bower_components/bootstrap-datepicker/tests/suites/methods_jquery.js   Download  
File: public/assets/bower_components/bootstrap-datepicker/tests/suites/methods_jquery.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change:
Date: 1 year ago
Size: 697 bytes
 

Contents

Class file image Download
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)); });