Skip to content

ProtoString Installation

Seth Clydesdale edited this page May 23, 2015 · 1 revision

This page will go over a few ways that you can use ProtoString on your website.

Simple Installation

You can link directly to the minified source, by adding the following tag in the <head> section of your document.

<script src="https://raw.githubusercontent.com/SethClydesdale/protostring/master/protostring.min.js"></script>

Note : Any changes made to the file will also take effect on your side, so make sure you keep up to date with all changes.

Advanced Installation

  1. To host the minified version yourself, you can find the source here. Once uploaded elsewhere, you can then link to the source via a <script> element in your <head> section.

  2. Interested in only a few of the methods offered? If so, then you're free to copy the ones you want from the development script, and place them where you need them.

Once Installed

Once ProtoString is installed, you can use any of the methods on your website. Simply create a string object or define a string literal, then you can execute any of the ProtoString methods on it. For more information, check out all the methods offered on the ProtoString Methods Reference.

Clone this wiki locally