This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// require() some stuff from npm (like you were using browserify) | |
// and then hit Run Code to run it on the right | |
var GeminiScrollbar = require('gemini-scrollbar'); | |
var myScrollbar = new GeminiScrollbar({ | |
element: document.querySelector('.scroller1') | |
}).create(); |