API Docs for: 0.5.0
Show:

Utils Class

Defined in: src/utils/Utils.js:3

Misc utility functions

Constructor

Utils

()

Item Index

Methods

Properties

Methods

appendArray

(
  • a
  • b
)
static

Append the values in array b to the array a. See this for an explanation.

Parameters:

  • a Array
  • b Array

extend

(
  • a
  • b
)
static

Extend an object with the properties of another

Parameters:

  • a Object
  • b Object

splice

(
  • array
  • index
  • howmany
)
static

Garbage free Array.splice(). Does not allocate a new array.

Parameters:

  • array Array
  • index Number
  • howmany Number

Properties

ARRAY_TYPE

Array static

The array type to use for internal numeric computations.