julianlam/Scrollable — comment on commit d5ee806270c400bc20e1ef22053ea6b9a82bf42e
File: Source/Scrollable.js line 27
By afoeder:

it wouldn't hurt to just do `this.element = document.id(element)` without checking the supplied type; document.id already does this for you. Additionally i'd recommend to replace $ with document.id for compatibility.