/assetbase

Get newest js library everywhere.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

AssetBase

Access newest js libaries everywhere.

Usage

Assetbase currently provides:

jQuery, Bootstrap, Backbone.js

You can simply use

<script type="text/javascript" src="http://assetbase-sfei.rhcloud.com/jQuery"></script>

to get the latest version of jQuery.

Parameters

You can also use parameters to get specified version of the code.

For example:

http://assetbase-sfei.rhcloud.com/jQuery/?v=1.8.1

This url gets jQuery version 1.8.1

http://assetbase-sfei.rhcloud.com/jQuery/?dev=true

This url gets the latest jQuery, development(not gziped)

You can also combine those two parameters.