dixonandmoe / rellax

Lightweight, vanilla javascript parallax library
https://dixonandmoe.com/rellax/
MIT License
7.06k stars 878 forks source link

Enable passing a node list or an array of html elements to the constructor #160

Closed ThisNameWasTaken closed 3 years ago

ThisNameWasTaken commented 5 years ago

This PR addresses #159.

I used Google Closure Compiler with the Simple optimization enabled. I have also used JSHint and got the fallowing warnings:

Three warnings
--
87 | Misleading line break before '?'; readers may interpret this as an expression boundary.
89 | Misleading line break before '?'; readers may interpret this as an expression boundary.
91 | Misleading line break before '?'; readers may interpret this as an expression boundary.