20.015
The official list of changes of jComponent, up to release 20.015.
20.015
- added missing
plugin.unwatch(path, [callback])method - added
abortandtimeouthandling to theAJAX()method - added error handling for scripts and styles to the
IMPORT()method (the callback is executed even if the import fails) - improved performance of
SET()(compiled setters are cached) - improved performance of
Array.prototype.quicksort()(sharedIntl.Collatorinstance) - improved
inDOM()by usingelement.isConnected - improved
COOKIES.set(), theexpireargument is optional and it doesn't modifyNOW - changed:
Number.prototype.format()rounds decimals instead of cutting them - changed:
Date.prototype.format('iso')returns a real UTC date - changed:
<ui-bind>commandshtml,text,value,title,hrefandsrcrender0instead of theemptyvalue - changed:
EXTENSION()executes the callback for existing instances with the same arguments as for new instances(instance, config, cls) - changed:
AJAX()evaluates a response as an error from the status code400(before399) - changed:
WAIT(path, callback)waits for a truthy value - fixed collisions in the cache of paths (different paths could return the same value)
- fixed
SET(path, function(value)) - fixed
CMD(),plugin.cmd()and$(element).CMD()methods - fixed
OFF(name, callback)for unregistered events - fixed emitting of events when a handler unregisters itself
- fixed infinite loop in the
autofocus()method - fixed infinite loop in the
TRANSLATE()method with unclosed@(markup - fixed
$characters in translations in theTRANSLATE()method - fixed
CONFIG('.path', config)for components without a path - fixed counting of pending elements for the
readyevent - fixed
?1|(parent plugin) in paths - fixed
plugin.watch()with multiple pathspath1 + path2 - fixed
plugin.set(object) - fixed
plugin.modifiedproperty - fixed
component.unwatch()(it affectedcomponent.datasource()too) - fixed
component.autofill()and processing of auto-filled values - fixed
component.setPath()with the?character - fixed
component.caniuse()with the|separator - fixed the previous value in the
component.configure(key, value, init, prev)delegate - fixed
checkboxin the defaultcomponent.setter() - fixed internal
component.$setter()without flags - fixed duplicated
component.attr()declaration - fixed multiple commands
html+titlein<ui-bind> - fixed using of a previous value in
<ui-bind>when a command throws an error - fixed arguments in
$(element).SEEX() - fixed double execution of callbacks in cached
AJAX()requests - fixed
opt.respond()in therequestevent - fixed sending of
Stringdata in theAJAX()method - fixed implicit global variable
arrin theAJAX()response - fixed
encryptargument in theSTRINGIFY()method - fixed restoring of values in the
CACHEPATH()method - fixed HTTP method parsing with
!in theCLINIT()method - fixed a possible interval leak in the
WAIT()method - fixed
COOKIES.set()with a number of days andCOOKIES.get()for values with the=character - fixed
localStorageerrors in theBLOCKED()method and in the initialization - fixed 12-hour clock (
hh,h,am/pm) inString.prototype.parseDate()andDate.prototype.format() - fixed a missing day and milliseconds in
String.prototype.parseDate() - fixed apostrophes and environment variables in
Date.prototype.format() - fixed
Number.prototype.add()with a number - fixed
Number.prototype.format()with exponential notation - fixed
Number.prototype.pluralize()without all arguments - fixed
String.prototype.parseExpire()without a unit - fixed
String.prototype.parseSource()with thenumbertype - fixed
Array.prototype.findValue()with cache - fixed sorting of different data types by the same key in
Array.prototype.quicksort() - fixed short HEX colors in the
APPEARANCE()method - fixed
VISIBLE()for elements placed directly in the<body> - fixed checking of window size in the internal resize handler
- fixed
resizehandler, animations anddestroy()in theSCROLLBAR()
20.014
- added missing
ENCRYPT(str, key, type)method - added missing
DECRYPT(hex, key, type)method
20.013
- fixed
Number.prototype.round() - added missing
CMD(name, [a], [b], [c], [d])method - added
EXE()alias toEXEC()
20.012
- added missing
component.$readyproperty for several components (j-Layout, j-Windows, etc.) that implement it - added missing
API(url, name, data, callback, [scope])method
20.011
- fixed
SYNCkeyword in theAJAX()method - added a missing
onprogresshandler to theAJAX()andUPLOAD()method
20.009
- jComponent initialization for Samsumg mobile
- added missing
COOKIES
20.008
- added support for
@method_namefor thecomponent.EXEC()method (it executes parent component method) - renamed the
CSS()method to theSTYLE() - added
window.jc_globals = { ... }object for disabling jComponent globals method:- it only supports one method:
CSS: false, which disables the registration of theCSS()method
- it only supports one method:
- fixed the
targetoption for theui-importelement - fixed the
classoption for theui-importelement - fixed the
initoption for theui-importelement - fixed
ui-bindwith customtemplateselector - fixed the virtual DOM operator
-->with two dashes
20.007
- fixed
plugin.get()method - fixed adding
DEF.versionto all AJAX.htmlrequests - fixed adding
DEF.languageto all AJAX requests - improved
ui-bindby adding:- compatibility with v19 with only visible elements to be rendered
forcerendercommand that allows rendering in hidden elements
- fixed
NEWUIBIND()method - fixed internal
.execfunctionality - improved downloading components from CDN
- added missing
plugin.off()andcomponent.off()method - extended
component.autobind20([delay], [realtimebinding])method by adding two arguments - added missing
component.closest(selector)method - fixed functionality with dynamic plugins
- fixed plugin
classconfig option - improved loading plugin instance
- fixed functionality in the
CLRELOAD()method - fixed evaluating code lists in paths
path #codelist1 #codelist2 - added support for flags in the
CMD()method - fixed importing dependencies defined in components
- added global variable
REPO
20.006
- added missing
Date.toUTC([ticks])method - fixed a warning information about downloading UI components from CDN
- fixed appending
arrayin theplugin.push()method - added TAPI alternative:
DEF.pipe = '/total-api-endpoint/'plugin.pipe(name, [data], [path|callback])PIPE(name, [data], [path|callback])
- improved
Thelpers.empty(value, [def], [raw])by addingrawargument - added old
knockknockevent - added
native: Booleanoption to the customSCROLLBAR() - fixed links with
@in theIMPORT()method - fixed "complex" paths in plugins
- fixed parsing of empty keys when using
String.parseConfig()
20.005
- fixed obtaining plugin path in the form
?1/somethingor?1.something
20.004
- added
component.setPath(path)method - added
$(element).scrollbar()for finding the closest custom scrollbar instance - added a new attribute
source="URL address"forui-componentelement - extended
component.bind()by addingnotifyflag (it notifies all components within the path about the component state)
20.003
- fixed cache in the
AJAX()method - added
Array.group(key)method
20.001
- fixed
EXEC()calls - fixed
CLINIT()withextendargument - fixed
trackoption in<ui-bind> - fixed
formatoption in<ui-bind> - fixed reconfiguring unintialized components in
<ui-bind> - extended jQuery by adding
$.autofocus([selector])method - fixed unexpected removing of custom scrollbars
- fixed component's dependencies
- added missing
component.push()method - fixed
enabledanddisabledof<ui-bind>commands for HTML controls - fixed
PREFfunctionality - fixed
@singletonin theIMPORT()method - added missing
UNAUTHORIZED()method - increased delay after importing 3rd party content via the
IMPORT()method - fixed
real-timebinding values in thecomponent.autobind20()method