API Docs for: 1.0.1

Grape Class

Defined in: js\grape\main.js:1

The global Grape object containing the built-in classes.

Item Index

Methods

Properties

Methods

Class

(
  • [name]
  • [parents]
  • methods
)
static

Creates a class by optionally copying prototype methods of one or more class.

Parameters:

  • [name] String optional

    The name of the class (mainly for debugging purposes)

  • [parents] Array | Class optional

    Parent class or classes

  • methods Object

    An object containing methods. If method name contains space, the keyword parts are parsed and keyword specific tasks are executed.

Returns:

:

Properties

version

String static

Defined in js\grape\main.js:18

The version of the current Grape library