Categories
Blog Javascript Porter

Request Protocol for Javascript Porter ver 2.1

js.php?l=[linklist]
[&(compress|c)=(yes|true|no|false)]
[&(noheader|nh)=(yes|true|no|false)]

linklist = {libName}[pluginList],{libName}[pluginList],{libName}[pluginList]…

pluginList = {pluginName},{pluginName},{pluginName}…

(case insensitive)

Requesting a library (e.g. jQuery)

js.php?l=jquery

Requesting a library with specific version (e.g. jQuery ver 1.8.0)

js.php?l=jquery-1.8.0

(use hyphen to connect lib name with version. use dots to connect subversions)

Requesting a library with plugins (e.g. jQuery with UI effects core)

js.php?l=jquery[ui_effects_core]

(use square bracket to quote plugin names, separate names with commas)

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.