API Docs for: 0.6.1
Show:

RSAddonUrl Class

Methods

_calcResourceURL

(
  • res
  • mojitRes
)
Nothing private

Calculates the static handler URL for the resource.

Parameters:

  • res Object

    the resource for which to calculate the URL

  • mojitRes Object

    the resource for the mojit

Returns:

Nothing:

initializer

(
  • config
)
Nothing

This methods is part of Y.Plugin.Base. See documentation for that for details.

Parameters:

  • config Object

    Configuration object as per Y.Plugin.Base

Returns:

Nothing:

onResolveMojitDetails

(
  • evt
)
Nothing

This is called when the ResourceStore fires this event. It precomputes the mojits' assets URL base, to be used later during getMojitTypeDetails.

Parameters:

  • evt Object

    The fired event

Returns:

Nothing:

resolveResourceVersions

() Nothing

Using AOP, this is called before the ResourceStore's version. It computes the static handler URL for all resources in all the mojits (as well as the mojit itself).

Returns:

Nothing: