sindresorhus / screenfull

Simple wrapper for cross-browser usage of the JavaScript Fullscreen API
https://sindresorhus.com/screenfull
MIT License
7.08k stars 698 forks source link

Support for module.exports #46

Closed yocontra closed 10 years ago

yocontra commented 10 years ago

var screenfull = require('screenfull');

screenfull will be an empty object, since it exports nothing. In a module.exports mode it should not attach globals but should export the module instead

yocontra commented 10 years ago

:cactus: :cake: