Overview
Backport allows you to easily access native API features that have been overriden by backport scripts.Availability
Backport.js v0.1 and above.
Syntax
// access from anywhere backport.global.<featureName> // access on backported functions <functionName>.native
Examples
// assuming we've deleted the deprecated droidFromId() function, but it's still in the JS API var gameObject = backport.global.droidFromId(id); // assuming we've upgraded orderDroid() but for some reason want the original orderDroid.native(droid,order);