Global

Methods

arrayContains(arr, elem)

Helper for browser compatibility. TODO: test indexOf and see what closure compiler translates it too and if it augments the Array prototype if the function is missing. (run tests in IE6)

Parameters:
Name Type Description
arr Array.<string>
elem string
Source:

convertToImageSerieInfo(bump_serie) → {spv.ds.ImageSerieInfo}

Convert internal representation of image serie to the exposed type

Parameters:
Name Type Description
bump_serie spv.ds.impl.BumpSerie
Source:
Returns:
Type
spv.ds.ImageSerieInfo

convertToInternalTextMapCollection(bump) → {InternalTextMapCollection}

Parameters:
Name Type Description
bump spv.ds.impl.Bump
Source:
Returns:
Type
InternalTextMapCollection

convertToInternalTextMapCollections(init_data) → {Object.<string, InternalTextMapCollection>}

Convert init data to collection of faster text lookup objects

Parameters:
Name Type Description
init_data spv.ds.impl.SessionInitData
Source:
Returns:
Type
Object.<string, InternalTextMapCollection>

getBump(sid, category_id) → {spv.ds.impl.Bump}

Parameters:
Name Type Description
sid spv.ds.impl.SessionInitData
category_id string
Source:
Returns:
Type
spv.ds.impl.Bump

getCategoryIds(sid) → {Array.<string>}

Parameters:
Name Type Description
sid spv.ds.impl.SessionInitData
Source:
Returns:
Type
Array.<string>