alongubkin/angular-datepicker — pull request #13 by jonotron (2014-08-29 00:02:23+00:00)
Title: Fix cordova reference

Currently the directive will fail `onClose` if the global `cordova` is undefined (in the browser). Here, I replaced the `!cordova` check with a proper `typeof cordova === 'undefined'`