Front-end Software Designer @ Solita
- Kaarina, Finland
-
15:53
(UTC +03:00) - @Haprog
Block or Report
Block or report Haprog
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
hash-actions Public
A small utility lib for working with the "hashchange" event and "window.location.hash". Makes it easy to define actions that happen when the user "enters" or "exits" specific URL fragments on the p…
JavaScript
-
1
/**
2* A version of querySelectorAll() that also recursively looks into all shadow roots.
3* @param selector Selector
4* @param root (Optional) Scope of the query (Element or Document). Defaults to the document.
5* @returns
-
1
/**
2* Load the given script.
3* (appends a new <script> tag to the end of the main document's <head> tag)
4*
5* @param {string} src URL if the script to be loaded
-
1
// Returns a new function that will call the given "func" at most once every "wait" milliseconds.
2// Based on debounce function from: https://davidwalsh.name/essential-javascript-functions
3function rateLimit(func, wait) {
4var waiting = false;
5return function() {
159 contributions in the last year
Less
More
Activity overview
Contributed to
FurryWolfX/deno_exif,
akatemiaohjelmat/akatemiaohjelmat.github.io,
storyblok/storyblok-js
and 2 other
repositories
Contribution activity
June 2023
Haprog has no activity
yet for this period.