Browsers come with a set of built-in elements like or . When we need a new component not covered by...

The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.

jQuery has a function $.fn.trigger(). You can use it to dispatch an event on a jQuery object: let $element = $('.foo...

github.com

See the attached link for a useful overview of modern (and classic) DOM API methods, like matches, contains, append, cssText...

makandra dev

This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects

api.jquery.com

jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...

developers.google.com

Mobile Chrome and Safari support the "web share API" which allow you to use the native share functionality of an...

Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'. Gem Load Error is: Incorrect MySQL client...

makandra dev

An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...

Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...

reactarmory.com

The linked article shows how to exploit websites that include unsanitized user input in their CSS. Although the article often...

You should prefer native promises to jQuery's Deferreds. Native promises are much faster than their jQuery equivalent. Native promises...

Native promises have no methods to inspect their state. You can use the promiseState function below to check whether a...

Web technology is a broad field and you cannot be an expert in all aspects. However, it is useful to...

Try updating to 1.0.4 right in the Gemfile.lock.

TLDR: A function is hard to use when it sometimes returns a promise and sometimes throws an exception. When writing...

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

jqueryui.com

UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows

github.com

Adds missing native PostgreSQL data types to ActiveRecord and convenient querying extensions for ActiveRecord and Arel for Rails 4.x...

The attached Coffeescript helper will let you create mouse events: $element = $('div') Trigger.mouseover($element) Trigger.mouseenter($element) Trigger.mousedown($element) Trigger.mouseup($element...

There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available

makandra dev
addyosmani.com

MutationObserver provides developers a way to react to changes in a DOM. Any: insertion, deletion, attribute change – anything. Quickstart: https://...

makandra dev
github.com

Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...

bugs.ruby-lang.org

This is basically Ruby-native syntax for andand.