Skip to content

v1.0.6

Latest
Compare
Choose a tag to compare
@LeaVerou LeaVerou released this 23 Jun 20:39
  • Event binding methods in Bliss Shy (such as $.bind()) now track events, so events added with Bliss Shy can still benefit from class names and mass unbinding, as long as the events were added with Bliss methods. Now the only difference in Bliss Full (event-wise) is that if using that, events added via the native addEventListener() and removed via removeEventListener() are also tracked.
  • New $.toggleAttribute() method for adding or removing attributes based on a certain criteria
  • New $.load() method for loading either JS or CSS resources
  • New $.when() method for deferring code until after a certain event has fired.
  • $.include() now resolves or rejects with the <script> element created
  • $.clone() is now deprecated and will be removed in the next version. Both because it wasn't used much, and because it can easily introduce a performance bottleneck.
  • Lots of bugfixes