mh5Namespace
Methods
![]() |
each | Loops through an array or object, calling a function for each element. |
![]() |
extend | Extends an object by copying source object(s) properties to the target object. Target object properties that match properties in the source object(s) are overwritten, unmatched properties are copied. Note that the method is able to handle undefined source objects gracefully. |
![]() |
extendDeep | Does the same what nokia.mh5.extend does but can deal with nested objects |
![]() |
jsonp | Starts a JSONP request to a given URL, the provided callback function will be called with the response of the request. There is a timeout of 10s for JSONP calls. |
![]() |
require |
Synchronously loads a class. After requiring a class you either use it by referencing it using the classes fully qualified name (e.g. nokia.mh5.ui.Control) or using the value returned the the require function itself (nokia.mh5.require('nokia.mh5.ui.Control') === nokia.mh5.ui.Control). See also nokia.mh5.modulePaths which stores the namespace paths.
|
![]() |
resolve | Checks a path reference and returns it if it exists. |
![]() |
type |
Detects whether the argument is of specified type. The method can detect the following types: 'arguments', 'array', 'boolean', 'date', 'function', 'null', 'number', 'object', 'string', 'undefined' |
![]() |
xhr | Start a XMLHttpRequest with the specified options. |
