Y
Hacker News
new
|
ask
|
show
|
jobs
by
ablerman
2773 days ago
In similar situations, I've left the old api as is and created a singleton to contain each version.
Plugin.getInstance('<version_number>')
Over time move people to that construct and eventually deprecate the old api.