pIqaD Javascript library for Palm Ares IDE

This library can be easily included into any project to give access to tlhIngan Hol -> pIqaD conversion.

Follow these steps to install the library:

1) Upload to the root folder of your Ares project.
2) Open sources.json and the following to the top of the file, after the first [:
	{
	        "source": "pIqaD.js"
	},
3) Close sources.json and the library is installed.

Here's an example of how to use the library within an Ares class:

	this.pIqaD = new pIqaDClass();
	var str = "tlhIngan Hol mu'tlhegh";
	var pIqaDstr = this.pIqaD.convert(str);
	this.$.label1.setLabel(pIqaDstr);

If you want to turn pIqaD conversion on and off, you can use the setConversion method:

	this.$.label1.setLabel(this.pIqaD.convert(str)); // Outputs the str in pIaqaD
	this.pIqaD.setConversion(false); // Sets pIqaD Conversion to off
	this.$.lavel1.setLabel(this.pIqaD.convert(str)); // Outputs the orginal str
	this.pIqaD.setConversion(true); // Sets pIqaD Conversion to on

In order for the target device to correctly show pIqaD characters, the end user will need to install the pIqaD font pack. Hopefully this will be on Preware soon, otherwise it can be downloaded from: http://www.wizage.net/?p=432

If you need help with this library, email qurgh@wizage.net or go to http://www.wizage.net/