Add a Library to the Global Scope

Using the project properties for any JavaScript project you can very simply add a library to the global scope using the following steps:
  1. Open the properties dialog for a given JavaScript project and navigate to the JavaScript > Include Path page

    The JavaScript > Include Path properties page


  2. Next, select the Add JavaScript Library... button to start the library wizard.

    The Add JavaScript Library wizard


  3. In the wizard, select the desired type of library to add and select the Next > button. Some libraries may have additional configuration pages, fill them out as needed, and complete the configuration by clicking the Finish button.

    The Mozilla library configuration page


  4. Finally, click the OK button to close the JavaScript > Include Path properties page

    The new library added to the JavaScript > Include Path properties page