benjamintoll.com
San Francisco Bay Area
717.756.2200
San Francisco Bay Area
717.756.2200
Changelog
2.0.1
Pagerscan now define a custom template to display their page information. Please see the examples page for more information.
2.0
- Added drag and drop functionality.
1.9
- Added an animation utility and an
animatemethod on every JSLITE.Element element. Please seeJSLITE.ux.AnimationManager,JSLITE.ux.AnimationandJSLITE.Element .Animate. - Added a custom logger,
JSLITE.log. - Added the
JSLITE.dom.findmethod. - Added the
JSLITE.deepCopymethod. - Added the
JSLITE.Element.valuemethod. - Added the
JSLITE.ux.fademethod. - Refactored
JSLITE.domQueryto be a singleton because I needed to expose some of its functionality to other methods, in part icularJSLITE.dom.find. This change should not effect developers asJSLITE.domQuerywas never meant to be called directly. - Refactored all of the
JSLITE.ux.Gridfunctionality to be more flexible. RemovedJSLITE.ux.JsonStoreand added b oth theJSLITE.ux.RemoteStoreand theJSLITE.ux.LocalStore code>to allow for just two stores, local and remote, that can be used to fetch and store different data based upon the value of itstypeproperty and its location. - Refactored
JSLITE.Element.removeClassso it can now also take an array of classes to remove. - Refactored
JSLITE.Element.parentso it can now also take an argument to specify what node name the parent element sho uld match. - The Selectors API is now being detected using feature detection.
JSLITE.dom.getsnow implements part of the Selectors API under the hood if the client's browser supports it (document.query SelectorAll).- Refactored
JSLITE.ajaxso it now publishes anabortevent which can be subscribed to (the event is fired when a timeout is reached). Also, fixed a bug where timeouts weren't be ing set properly. - Refactored
JSLITE.dom.getso it can now also accept a CSS selector as an argument. If more than one element is found, only t he first one is returned. This is designed to be backwards-compatible so previous APIs won't break. - Refactored
JSLITE.Element.onto accept either a string or an array of event types. - Refactored
JSLITE.Element.unto accept either a string or an array of event types. - Fixed a bug in
JSLITE.Element.getStylewhere it wasn't returning the correct value for current versions of Opera. li> - Fixed a bug in
JSLITE.dom.createwhere it wasn't applyingfloatproperties in thestyleobject. - Added more API documentation.
- Added an animation utility and an
1.8
- Updated the API docs to reflect the custom events associated with a control, i.e.,
the grid. - Added basic grid functionality with the
JSLITE.ux.Gridtype. This works in conjunction with theJSLITE.ux.ColumnModel,JSLITE.ux.DataStoreandJSLITE.ux.Readertypes. - Refactored the
JSLITE.Observertype. - Renamed the JSLITE.Observer.exposeEvents method to
JSLITE.Observer.subscriberEvents. - Added
Function.prototype.bindto allow for functions to be executed in any object context. - Added
JSLITE.Element.show. - Added
JSLITE.Element.getStyle. - Removed
JSLITE.dom.getStyle. - Rewrote
JSLITE.Element.appendto allow for both a single element or a collection of elements to be appended to a parent. - Rewrote
JSLITE.Element.removeto also allow for all the children of an element to be removed. - Fixed a bug in
JSLITE.ajax.loadthat did not allow for synchronous requests.
- Updated the API docs to reflect the custom events associated with a control, i.e.,
1.7
- Added the
JSLITE.Observerabstract reference type that can be extended to allow for custom events. - Added
JSLITE.dom.closest. - Rewrote
JSLITE.domQuery, the CSS selector engine, to support child selectors, adjacent sibling selectors and attribute filters (please see documentation). - Removed
JSLITE.dom.getElementsByClassName. The enhanced CSS Selector Engine now supports this functionality and more. - Removed
JSLITE.dom.nodeCrawler. The enhanced CSS Selector Engine now supports this functionality and more. - Removed
JSLITE.dom.removeClassName. The enhanced CSS Selector Engine now supports this functionality and more. - Extracted DOM-related utility functions from
JSLITE.js, placing them within the newJSLITE.utilnamespace inJSLITE.util.js. - Added:
- Refactored:
JSLITE.ajaxJSLITE.ux.TooltipJSLITE.extendJSLITE.Element.tooltip
- Fixed a bug in
JSLITE.dom.formElementswhere it was collecting any element with anameattribute instead of just form elements. - Began internationalization:
- Changed
toLowerCasetotoLocaleLowerCase - Changed
toUpperCasetotoLocaleUpperCase
- Changed
- Added the
1.6
- Allows for either a JSLITE.Element or a plain old DOM element to be returned for some DOM manipulation and retrieval queries (please refer to the API documentation for more details).
- All methods in a JSLITE.Element wrapper return the wrapper to allow for chaining.
- Changed two property names in
JSLITE.dom.create:elemis nowtagattributesis nowattr
1.5
- Added a simple CSS selector engine.
1.x
- Core functionality.

