How to use

Quick Start of the ports.js.

Step 1

Download the latest version.

Step 2

Installation

Put the directory "js" in any directory.
You can remove the directory of library in "js" when not use it.

Step 3

Use the ports.js

Include the script file "ports.js" in HTML header.

examples

<script src="js/ports.js" type="text/javascript"></script>

Step 4

Use the JavaScript library

Call the function "install" with the keyword of JavaScript library.

examples

<script type="text/javascript">port.install('prototype');</script>

After call, that library are usable.

examples

<script type="text/javascript">alert($);</script>

Hint

Other callers

Multiple install

<script type="text/javascript">port.install(['prototype', 'jquery']);</script>

Install from query

<script src="js/ports.js?i=prototype" type="text/javascript"></script>

Multiple install from query

<script src="js/ports.js?i=prototype,jquery" type="text/javascript"></script>

Requirements

Supported browsers

Windows

Mac

License