Skip to content

Removed prototype of object that will only ever have one instance.#20

Merged
devgeeks merged 1 commit intodevgeeks:masterfrom
purplecabbage:patch-1
Sep 15, 2013
Merged

Removed prototype of object that will only ever have one instance.#20
devgeeks merged 1 commit intodevgeeks:masterfrom
purplecabbage:patch-1

Conversation

@purplecabbage
Copy link
Copy Markdown
Contributor

No need to name the object, create a constructor function, modify it's prototype, or call new ...

No need to name the object, create a constructor function, modify it's prototype, or call new ...
@devgeeks
Copy link
Copy Markdown
Owner

That's a lot nicer.

This is what comes of slowly converting a plugin over many Cordova versions. So much unnecessary junk.

Thanks for that. I'll use this as a base for converting the rest.

devgeeks added a commit that referenced this pull request Sep 15, 2013
Removed prototype of object that will only ever have one instance.
@devgeeks devgeeks merged commit eb7caf3 into devgeeks:master Sep 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants