1 |
2
|
Manuela
|
YAHOO Global - Release Notes
|
2 |
|
|
|
3 |
|
|
2.4.1
|
4 |
|
|
|
5 |
|
|
No change
|
6 |
|
|
|
7 |
|
|
2.4.0
|
8 |
|
|
* Added YAHOO.env.ua.mobile
|
9 |
|
|
* Removed the hasOwnProperty check in isArray to make it perform a bit better.
|
10 |
|
|
* YAHOO will be created/overwritten if YAHOO is undefined or the defined YAHOO is falsy
|
11 |
|
|
|
12 |
|
|
2.3.1
|
13 |
|
|
* YAHOO.lang.dump casts primitives to strings
|
14 |
|
|
|
15 |
|
|
2.3.0
|
16 |
|
|
* Added YAHOO.env.ua - browser detection
|
17 |
|
|
* Added YAHOO.lang.merge - object merge
|
18 |
|
|
* Added YAHOO.lang.trim - whitespace removal
|
19 |
|
|
* Added YAHOO.lang.augmentObject - mixins. Renamed augment to augmentProto and
|
20 |
|
|
made augment an alias to augmentProto
|
21 |
|
|
* isObject/isArray return false rather than null when testing null
|
22 |
|
|
|
23 |
|
|
2.2.2
|
24 |
|
|
|
25 |
|
|
* No change
|
26 |
|
|
|
27 |
|
|
2.2.1
|
28 |
|
|
|
29 |
|
|
* YAHOO.lang.isObject returns false for null
|
30 |
|
|
* YAHOO.lang.isArray no longer generates an error when the argument is null/undefined
|
31 |
|
|
* Better error messages for YAHOO.lang.augment/extend failures that are usually due
|
32 |
|
|
to missing dependencies.
|
33 |
|
|
|
34 |
|
|
2.2.0a
|
35 |
|
|
|
36 |
|
|
* Fixed a typo that prevented the proper detection of multiple YAHOO_config listeners
|
37 |
|
|
|
38 |
|
|
2.2.0
|
39 |
|
|
|
40 |
|
|
* Added configuration of the library via a YAHOO_config object defined
|
41 |
|
|
prior to the reference to the library. Currently it supports a listener
|
42 |
|
|
parameter that will execute every time a new module YUI module is loaded.
|
43 |
|
|
|
44 |
|
|
* Added YAHOO.register & YAHOO.getVersion for version stamping modules.
|
45 |
|
|
|
46 |
|
|
* Added YAHOO.env which is the home for the information about the loaded
|
47 |
|
|
YUI modules, and will host more info later.
|
48 |
|
|
|
49 |
|
|
* YAHOO.util.Lang was relocated to this package and is now YAHOO.lang.
|
50 |
|
|
YAHOO.extend and YAHOO.augment have moved to env (the original
|
51 |
|
|
functions still work).
|
52 |
|
|
|
53 |
|
|
0.12.2
|
54 |
|
|
|
55 |
|
|
* No change
|
56 |
|
|
|
57 |
|
|
0.12.1
|
58 |
|
|
|
59 |
|
|
* No change
|
60 |
|
|
|
61 |
|
|
0.12.0
|
62 |
|
|
|
63 |
|
|
* Added YAHOO.augment, which copies all or part of the prototype of one
|
64 |
|
|
object to another.
|
65 |
|
|
|
66 |
|
|
* YAHOO.namespace now can create multiple namespaces.
|
67 |
|
|
|
68 |
|
|
* Added an optional third parameter to YAHOO.extend: overrides. It takes
|
69 |
|
|
an object literal of properties/methods to apply to the subclass
|
70 |
|
|
prototype, overriding the superclass if present.
|
71 |
|
|
|
72 |
|
|
0.11.4
|
73 |
|
|
|
74 |
|
|
* Changed window.YAHOO = window.YAHOO || {} to
|
75 |
|
|
if (typeof YAHOO == "undefined") YAHOO = {} because the previous statement
|
76 |
|
|
contributed to a memory leak in IE6 when the library was hosted in an
|
77 |
|
|
iframe.
|
78 |
|
|
|
79 |
|
|
0.11.3
|
80 |
|
|
|
81 |
|
|
* Changed var YAHOO = window.YAHOO || {} to window.YAHOO = window.YAHOO || {}.
|
82 |
|
|
This fixes an issue in IE where YAHOO would get overwritten if previously
|
83 |
|
|
defined via array notation (window["YAHOO"]).
|
84 |
|
|
|
85 |
|
|
0.11.0
|
86 |
|
|
|
87 |
|
|
* Added YAHOO.extend, which provides an easy way to assign the prototype,
|
88 |
|
|
constructor, and superclass properties inheritance properties. It also
|
89 |
|
|
prevents the constructor of the superclass from being exectuted twice.
|
90 |
|
|
|
91 |
|
|
0.10.0
|
92 |
|
|
|
93 |
|
|
* Added YAHOO.log that provides a safe way to plumb logging statements in
|
94 |
|
|
code that will work if the logging component isn't available.
|