Reusable Accessible Mapping Platform

API Docs for: 5.0.0
Show:

FunctionMangler Class

??? Description

Methods

_initDojoPrototype

() private

[_initDojoPrototype description] Adds following extensions:

  • topic.subscrive(name, listener, scope) - An extension of dojoLang.subscribe that allows the callback function to be hitched with the given scope.
  • dojoOn(target, type, listener, scope) -

_wrapFileCallInPromise

(
  • readMethod
)
Function private

Helper function for wrapping File API calls in Promise objects. Used for building a series of helpers which call different file read methods.

Parameters:

  • readMethod String

    a string indicating the FileReader method to call

Returns:

Function:

a function which accepts a {File} object and returns a Promise

load

(
  • id
  • require
  • load
)
type

[load description]

Parameters:

  • id type

    [description]

  • require type

    [description]

  • load type

    [description]

Returns:

type:

[description]