matthewhudson/device.js — pull request #75 by ldanet (2014-12-02 19:09:25+00:00)
Title: Fixed scope issue.

Fixed scope issue to prevent "undefined function" errors when some other lib redefines the global `device` variable.