#jsCore changelog
##v0.8.0
.contains()
renamed to.includes()
(more info)
##v0.7.0
- fix:
Array.contains()
for non-Array objects - del:
.prepend()
,.append()
,.before()
,.after()
and.replace()
methods (excluded from the W3C DOM 4 editor's draft) lib.Template()
now returns a function
##v0.6.1
- fix:
.find()
and.findIndex()
no longer ignore array element holes - fix:
Object.assign()
ignores null and undefined source arguments - new:
.request({advanced: function (xhr) {…}})
- del:
.addEventListener()
,.removeEventListener()
and.dispatchEvent()
from polyfill for XMLHttpRequest (IE8)
##v0.6.0
- new:
Array.prototype.contains()
polyfill - del:
lib.contains()
##v0.5.1
- wontfix bug 2435
##v0.5.0
- del:
.query()
and.queryAll()
methods (excluded from the W3C DOM 4 editor's draft)
##v0.4.9
##v0.4.8
- fix: set
.relatedTarget
only formouseover
andmouseout
##v0.4.7
- new:
lib.cookie
utils - new:
Object.setPrototypeOf
polyfill
##v0.4.6
- many
Promise
fixes
##v0.4.5
- fix: an animation event propagation bug in
.awaitAnimationEnd()
(listen only theAT_TARGET
phase)
##v0.4.4
- fix: remove a global variable
error
(catch(error)
in the global scope) - fix: define a variable
fileName
inFormData()
polyfill when necessary - new: a builder
##v0.4.3
- fix: a bug with negative
endIndex
inArray.prototype.fill
polyfill - fix: define
.setImmediate()
once - fix:
lib
methods don't depend on the activation object (this
) - fix: support
DOMContentLoaded
in IE8 - del:
.catch_()
and.delete_()
aliases, use the brackets notation in IE8
##v0.4.2
- del:
.initKeyEvent()
and.initMutationEvent()
- fix:
.dispatchEvent()
must return a value - fix: a bug in
.stopPropagation()
- fix:
.getComputedStyle(el).animationName
may be equal to"none, none, …"
in IE11
##v0.4.1
- fix:
.setImmediate()
polyfill uses.msSetImmediate()
in IE10 - simplify
EventTarget()
and.setImmediate()
polyfills - optimize
lib.css.set()
##v0.4.0
- new:
.get()
and.set()
for CSS properties - new:
CSSStyleDeclaration()
polyfill - new:
opacity
in computed style - del:
lib.dom.query()
andlib.dom.queryAll()
- rename
lib.class._extend()
tolib.classExtends()
- simplify
lib.request()
code
##v0.3.0
- new: prefixed transition and animation event types
- new: prefixed transition and animation property names
- new: a method
.prefix()
for the CSS properties - new: a method
.getTransitionTime()
for calculate the maximum CSS transition time - new: methods
.awaitAnimationEnd()
,.awaitTransitionEnd()
and.awaitTransAnimEnd()
- new: methods
.addClass()
,.removeClass()
and.toggleClass()
for perform actions at the end of all CSS transitions and animations - fix:
lib.event
API supporthandleEvent
- fix:
Promise()
polyfill behavior (call aresolver
when thepromise
is created)
##v0.2.0
- new:
Set()
,Map()
,WeakSet()
andWeakMap()
polyfills - new:
handleEvent
support in IE8 - fix:
.clearImmediate()
for IE8 - fix:
.dataset
and.classList
polyfills useActiveXObject('htmlfile')
in IE8