code: function _wrapCalls(options){
              return function(){
                  var api;
  
                  options.func.apply(options.context, Array.prototype.slice.call(arguments, 0));
  
                  for (var i = 0; i < externalAPIS.length; i++) {
                      api = externalAPIS[i];
                      if (api[options.triggerType]) {
                          try {
                              api[options.triggerType].apply(api.context,Array.prototype.slice.call(arguments, 0));
                          }
                          catch (exc) {}
                      }
                  }
              };
          }
docs: Wraps API calls to trigger other registered functions
  @param options
  @returns {Function}
  @private