urbanairship-cordova/www/UrbanAirship.js
// Helper method to run an action
Helper method to run an action
Helper method to run an action
function _runAction(actionName, actionValue, success, failure) {
  var successWrapper = function(result) {
    if (success) {
      success(result.value)
    }
  }
  callNative(successWrapper, failure, "runAction", [actionName, actionValue])
}
function _runAction ( actionName , actionValue , success , failure ) { var successWrapper = function ( result ) { if ( success ) { success ( result . value ) } } callNative ( successWrapper , failure , "runAction" , [ actionName , actionValue ] ) }
Helper method to run an action
Helper method to run an action