-
Version 4.5 - 21. June 2008
- Improved event system a lot
- Removed following functions -> formContents, cloner, getCSSdim
- Renamed loadJSONDoc -> loadJSON (old still supported)
- Renamed queryArguments -> encodeArguments (old still supported)
- All functions should be more expressive, an example is removeElement($bytc('a'), [$('id1'), $('id2')])
-
Version 4.1 - 29. Aug 2007
- Added support for SPAN({c: 'classname', s: 'style settings'})
- Small bug fixed here and there
- Added AJS.getSelectValue
- Improved AJS_minify.py (now it works even if you don't have AJS. in front of your function calls)
-
Version 4.0 - 12. May 2007
- Rewritten drag and drop and moved it into AJS_dnd.js
- Improved AJS.map
- Improved AJS.createDom
- Added AJS.appendToTop
- Added AJS.getCssProperty
- Added AJS.setStyle
- Added AJS.resetOpacity
- Written documentation for AJS.fx
- Written documentation for AJS.dnd
- Updated documentation for AJS
- Updated examples
-
Version 3.9 - 29. April 2007
- AJS.partial and AJS.bind rewritten -> read more
- AJS.map extended -> read more
- AJS drag and drop optimized
-
Version 3.72 - 5. February 2007
- A bug with window.location fixed in AJS.getRequest
-
Version 3.71 - 31. Januar 2007
- isElementHidden slightly changed
-
Version 3.70 - 29. Januar 2007
- hasClass added
- rmap added
- drag and drop API slightly changed. Examples are updated, so look in them to see what has changed
- isElementHidden checks for display rather than visibility
-
Version 3.60 - 24. December 2006
- Ported moo.fx.Style and moo.fx.Styles. They are named AJS.fx.Style and AJS.fx.Styles.
-
Version 3.55 - 19. December 2006
- Added AJS.values. Similar to AJS.keys, but returns an array of values from an object.
-
Version 3.52 - 29. November 2006
- Bug fix in AJS.flattenList
-
Version 3.51 - 28. November 2006
- AJS.preloadImages added
- AJS_minify.py updated
-
Version 3.5 - 25. November 2006
- AJS.fx added (effects!)
- AJS.Class added
-
Version 3.36 - 13. November 2006
- AJS.DI can now take strings.
-
Version 3.35 - 11. November 2006
- Added AJS.bindMethods
- Fixed a couple of bugs in AJS_minify.py
- Updated referece.html
-
Version 3.31 - 8. November 2006
- Updated the API documentation so it matches the newest version
-
Version 3.3 - 3. November 2006
- AJS.partial bug fix
- AJS.addEventListener puts a key on the returned event if the event type is keypress, keyup or keydown
-
Version 3.20 - 21. October 2006
- AJS.addClass added
- AJS.removeClass added
-
Version 3.17 - 19. October 2006
- BASE_URL bug fix
-
Version 3.16 - 17. October 2006
- Relative path bug fix in AJS.getRequest
-
Version 3.15 - 14. October 2006
- AJS can now be sourced twice
- Some bug fixes in AJS_minify.py
-
Version 3.12 - 2. September 2006
- Small bug fix in AJS.getRequest
-
Version 3.1 - 2. September 2006
- AJS.getParentBytc added
- AJS.getPreviousSiblingBytc added
- AJS.getNextSiblingBytc added
- AJS.formContents added
- Added Deferred.sendReq(data, {is_json: true}), this will set the right header
-
Version 3.0 - 21. August 2006
- API added!
- Examples
- Drag and drop support
- ...
-
Version 2.98 - 4. August 2006
- sendXMLHttpRequest IE 7 bug fix (thanks Obata Akio)
- Added getWindowSize: Returns the size of the current window
-
Version 2.96 - 1. August 2006
- Minor bug fixes
- AJS.setHTML added.
- AJS.documentInsert (AJS.DI) added. This can be used to insert an DOM elment with document.write().
-
Version 2.91 - 20. June 2006
- Minor bug fixes
-
Version 2.85 - 22. May 2006
Changes:
- Fixed a minor bug in AJS.unloadListeners
- Fixed some bugs in AJS.addEventListener
- Fixed a bug in AJS.isArray that affected some of the other functions
- AJS.unloadListeners added on window unload again
Removed shortcuts:
- AJS.setT
- AJS.setL
- AJS.setW
- AJS.setH
Added shortcuts:
- AJS.bytc maps to AJS.getElementsByTagAndClassName
-
Version 2.81 - 20. May 2006
Changes:
- setTimeout changed to callLater
- isObject and isString bug fix
-
Version 2.8 - 19. May 2006
Changes:
- createArray added. Shortcut is AJS.$A
- getRealScope, addEventListener, bind and listenOnce rewritten
New shortcuts:
- AJS.$$ maps to AJS.getElements
- AJS.callLater maps to AJS.setTimeout
- AJS.$b maps to AJS.bind
-
Version 2.7 - 18. May 2006
Added following:
- getLast(list): Returns the last element in an array
- getFirst(list): Returns the first element in an array
- absolutePosition(elm): Returns an elements absolute position on the page
- getCssDim(dim): Returns the CSS string representation of a dimension
- setWidth(elm1, elm2..., width): Set width of one or more elements
- setHeight(elm1, elm2..., width): Set height of one or more elements
- setLeft(elm1, elm2..., width): Set left of one or more elements
- setTop(elm1, elm2..., width): Set top of one or more elements
- map is extended to map: function(list, fn, start_index, end_index), the indexes are optional
- unloadListeners added
- removeEventListener: function(elm, type, fn) added
- isString added
-
Version 2.5 - 18. May 2006
Rewritten events. Added following functions:
- isNetscape7(): Check to see if the browser is Netscape 7.x
- nodeName(elm): Return the node name
- map(list, fn): Functional map function
- isIn(str, list): Check to see if the string is in the list
- getRealScope(fn, detacher, extra_args, send_event): Support for smart scoping. Used by addEventListener
- setTimeout(fn, interval, extra_args): Smart timeout that supports AJS.bind
-
Version 2.1
Support for events added:
- getEventElm added
- addEventListener added
- bind added
- listenOnce added
-
Version 2.1
- getQueryArgument added
-
Version 2.01
- Minor isIe function bug fix