#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
.relatedTargetonly formouseoverandmouseout
##v0.4.7
- new:
lib.cookieutils - new:
Object.setPrototypeOfpolyfill
##v0.4.6
- many
Promisefixes
##v0.4.5
- fix: an animation event propagation bug in
.awaitAnimationEnd()(listen only theAT_TARGETphase)
##v0.4.4
- fix: remove a global variable
error(catch(error)in the global scope) - fix: define a variable
fileNameinFormData()polyfill when necessary - new: a builder
##v0.4.3
- fix: a bug with negative
endIndexinArray.prototype.fillpolyfill - fix: define
.setImmediate()once - fix:
libmethods don't depend on the activation object (this) - fix: support
DOMContentLoadedin 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).animationNamemay 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:
opacityin 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.eventAPI supporthandleEvent - fix:
Promise()polyfill behavior (call aresolverwhen thepromiseis created)
##v0.2.0
- new:
Set(),Map(),WeakSet()andWeakMap()polyfills - new:
handleEventsupport in IE8 - fix:
.clearImmediate()for IE8 - fix:
.datasetand.classListpolyfills useActiveXObject('htmlfile')in IE8