cedricpinson/leapjs — pull request #1 by zqsd (2014-02-27 18:35:38+00:00)
Title: Adds a number of attempts for connect

The connectAttempts option disable leap motion library if couldn't connect after connectAtempts failed connections.
Value -1 is the original behavious : try forever.