Chapter 5. Elixir JavaScript Editor

Table of Contents

Introduction
Function Availability
Referencing JavaScript

Introduction

Elixir Repertoire tools include a JavaScript editor, connected to a JavaScript engine for immediate testing and evaluation of expressions. This editor allows the creation of a library of common JavaScript functions that can be added to any other JavaScript evaluation, such as a Report Function Definitions script or a Composite DataSource script.

The JavaScript editor supports syntax colouring to make it easy to see at a glance the different aspects of the code. You can evaluate code using the Popup menu and selecting an option.

  • Do It: executes the selected text as a JavaScript expression.
  • Show It: evaluates the selected text as a JavaScript expression and outputs the result of evaluation back into the editor.
  • Reset: resets the JavaScript engine to the default state.