phonegap/phonegap-plugins — pull request #784 by epidemian (2012-09-07 20:49:43+00:00)
Title: DatePicker.js: Initialize window.plugins

The previous version of this file also initialized `window.plugins`, but it was after asking for `window.plugins.datePicker`, which caused an error if window.plugins was not initialized (that's the case if only the cordova 2.0 js is included before this plugin).