1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-14 02:26:20 +02:00

eslint fixes.

This commit is contained in:
Kushagra Gour
2017-04-30 20:35:00 +05:30
parent b6e463ba4c
commit 9fd7ea2994
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
window.DEBUG = document.cookie.indexOf('wmdebug') > -1;
window.$ = document.querySelector.bind(document);
window.$all = (selector) => [...document.querySelectorAll(selector)] ;
window.$all = (selector) => [...document.querySelectorAll(selector)];
var alphaNum = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
/**
@ -18,6 +18,7 @@
var index = siblings.indexOf(this);
return siblings[index + 1];
};
/*
* @param Selector that should match for next siblings
* @return element Next element that mathes `selector`