euzuro
|
51ac2b4acf
|
remove useless or duplicate functions from Util.js -- no more: Array prepend() append() -- use push() and unshift(). clear() and indexOf() both removed as they are duplicated in Prototype.js -- all instances replaced and tests updated.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1136 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-08-09 03:31:06 +00:00 |
|
euzuro
|
ce69912782
|
add limitSigDigs() function to number's prototype. tests included
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1008 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-26 12:22:12 +00:00 |
|
euzuro
|
ab98af7635
|
add test for OpenLayers.Util.createUniqueID()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@970 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 16:17:01 +00:00 |
|
euzuro
|
e91d0546ee
|
replace all usage of copyOf() with clone(). Now copyOf() is officially deprecated and unused. supported only if users out there have used it, but we can phase it out in the next official release.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@961 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-18 11:56:13 +00:00 |
|
euzuro
|
65ae34d4e7
|
add contains() function to string library. added tests too.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@859 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-03 19:54:00 +00:00 |
|
euzuro
|
c7aee7fd25
|
add OpenLayers.Util.upperCaseObject() function and test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@491 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 10:52:22 +00:00 |
|
euzuro
|
cd0b43d938
|
add OpenLayers.Util.modifyAlphaImage() function and tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@448 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 13:30:11 +00:00 |
|
euzuro
|
cd779adf57
|
fix tests to pass in IE. border was bombing. add test for filter sizing method.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@402 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 16:00:05 +00:00 |
|
euzuro
|
f115b797a3
|
Changed around the order of arguments for createImage, createDiv, and createAlphaImage. bubbled out helper function OpenLayers.Util.modifyDOMElement() to handle common mods. Official order now is: id, px, sz, imgURL, position, border[, overflow]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 01:23:11 +00:00 |
|
euzuro
|
dda9d167af
|
add tests for createAlphaImageDiv function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@365 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:12:51 +00:00 |
|
Schuyler Erle
|
0e6b61c352
|
All tests now pass in IE.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@315 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 05:46:54 +00:00 |
|
euzuro
|
d694efa60e
|
add indexOf() function to array - returns first index of a given element in an array. useful for testing, etc
git-svn-id: http://svn.openlayers.org/trunk/openlayers@225 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-21 14:42:18 +00:00 |
|
euzuro
|
5a01d3b510
|
last test function for Util.js. In theory, that entire file is now fully tested
git-svn-id: http://svn.openlayers.org/trunk/openlayers@153 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 17:13:47 +00:00 |
|
euzuro
|
db33b7b260
|
more tests! createDiv and createImage now testable.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@152 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 16:59:39 +00:00 |
|
euzuro
|
60013db953
|
correctly identify getParameterString as a Util function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 13:42:14 +00:00 |
|
euzuro
|
233600a284
|
new util test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@148 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 13:41:19 +00:00 |
|
crschmidt
|
6ab326f67d
|
Changing all tabs to spaces, per CodingStandards.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 12:42:38 +00:00 |
|
Schuyler Erle
|
a5d6ad32da
|
Added test for fix in r114. (take two)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@116 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-18 01:03:29 +00:00 |
|