Skip to content

Instantly share code, notes, and snippets.

View Nitij's full-sized avatar
😬
Focusing

Nitij Nitij

😬
Focusing
View GitHub Profile
var CustomEvents = (function() {
var _map = {};
return {
subscribe: function(name, cb) {
_map[name] || (_map[name] = []);
_map[name].push(cb);
},
notify: function(name, data) {
@ebidel
ebidel / Web Components Resources.md
Last active February 27, 2023 22:04
List of resources related to Web Components