getResourceIndex
The position within the spine of the given resource.
Return
something < 0 if not found.
Parameters
currentResource
The first position within the spine of a resource with the given href.
Return
something < 0 if not found.