mirror of
https://github.com/nicolabs/ciform.git
synced 2026-04-11 16:46:19 +02:00
+ copyright notice (let's see the license later)
This commit is contained in:
parent
7c5cd40160
commit
aa2bde2701
|
|
@ -1,14 +1,29 @@
|
|||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// minilib.js
|
||||
//
|
||||
// Copyright © 2008 Nicolas BONARDELLE <http://nicobo.net/contact>
|
||||
//
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@fileoverview
|
||||
|
||||
This library provides a very minimalistic set of functions to fill some gaps in the core Javascript language.<br>
|
||||
It should be compatible with most current market's libraries, so that if size would not be a problem it <em>should</em> easily be replaced/enhanced with one of them.<br>
|
||||
|
||||
@author cbonar at users dot sf dot net
|
||||
@author Nicolas BONARDELLE <<a href="http://nicobo.net/contact">http://nicobo.net/contact</a>>
|
||||
*/
|
||||
|
||||
|
||||
|
||||
//
|
||||
// ELEMENT SELECTION
|
||||
//
|
||||
|
||||
|
||||
|
||||
/**
|
||||
@return true if the argument is not undefined nor null
|
||||
@type boolean
|
||||
|
|
@ -36,6 +51,12 @@ function $( fieldName )
|
|||
|
||||
|
||||
|
||||
//
|
||||
// OBJECTS AND COLLECTIONS MANIPULATION
|
||||
//
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Copies all fields from the given arguments into this object.
|
||||
|
||||
|
|
@ -111,6 +132,12 @@ Array.prototype.containsValue = function( value, noCase )
|
|||
|
||||
|
||||
|
||||
//
|
||||
// DHTML UTILITIES
|
||||
//
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Tests the Element to see if it has the passed in className.
|
||||
@see "MooTools" {@link http://docs.mootools.net/Element/Element#Element:hasClass}
|
||||
|
|
@ -148,6 +175,12 @@ HTMLElement.prototype.removeClass = function( className )
|
|||
|
||||
|
||||
|
||||
//
|
||||
// PATCHES, TRICKS
|
||||
//
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Utility object dedicated to multi-threading, asynchrone calls, ...
|
||||
It should not be used directly.
|
||||
|
|
|
|||
Loading…
Reference in a new issue