coming soon
backport.global
...
Overview
Excerpt |
---|
Backport allows you to easily access native API features that have been overriden by backport scripts. |
Availability
Backport.js v0.1 and above.
Syntax
Code Block |
---|
// access from anywhere
backport.global.<featureName>
// access on backported functions
<functionName>.native |
Examples
Code Block |
---|
// 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); |