Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

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);

See also