+ copyright notice (let's see the license later)

This commit is contained in:
cbonar 2008-06-30 22:55:42 +00:00
parent 7c5cd40160
commit aa2bde2701

View file

@ -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 &lt;<a href="http://nicobo.net/contact">http://nicobo.net/contact</a>&gt;
*/
//
// 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.