devgeeks/Canvas2ImagePlugin — pull request #2 by duncanmcdougall (2012-07-01 10:39:41+00:00)
Title: Fixes double image save in Cordova

In Cordova/PhoneGap 1.8.0 both PhoneGap and Cordova are undefined therefore the image gets saved to the library twice. A simple elseif solves this.