Load a Vessel Specification

Load a JSON vessel specification with the Vessel.js library.

A JSON specification can be imported to an application and then be used to create a Ship object with the library. This can be done with the following commands (the localhost needs to be active for the file to be loaded):


				

The "ship" object is created inside the function and logged to the console.