Skip to content

Commit

Permalink
[docs] Moved justgage.com in docs for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Sep 10, 2019
1 parent 3ac69cf commit 38400c3
Show file tree
Hide file tree
Showing 44 changed files with 568 additions and 61 deletions.
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ yarn.lock

# project files
test
examples
docs
/docs/*
CHANGELOG.md
CHANGELOG_OLD.md
.travis.yml
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ JustGage is a handy JavaScript plugin for generating and animating nice & cl

<p align="center"><img src="docs/img/screenshot.gif"/></p>

- [JustGage](#JustGage)
- [Getting Started](#Getting-Started)
- [Basic usage](#Basic-usage)
- [Options](#Options)
- [Custom Sectors](#Custom-Sectors)
- [Pointer options](#Pointer-options)
- [Methods](#Methods)
- [Refresh](#Refresh)
- [Destroy](#Destroy)
- [Demo](#Demo)
- [Examples](#Examples)
- [Changelog](#Changelog)
- [License](#License)
- [Author](#Author)
- [JustGage](#justgage)
- [Getting Started](#getting-started)
- [Basic usage](#basic-usage)
- [Options](#options)
- [Custom Sectors](#custom-sectors)
- [Pointer options](#pointer-options)
- [Methods](#methods)
- [Refresh](#refresh)
- [Destroy](#destroy)
- [Demo](#demo)
- [Examples](#examples)
- [Changelog](#changelog)
- [License](#license)
- [Author](#author)

## Getting Started

Expand Down Expand Up @@ -198,7 +198,7 @@ Click [here](https://justgage.com/) to see a demo
## Examples
Click [here](http://justgage.com/examples/) for a list of examples
Click [here](https://toorshia.github.io/justgage/examples) for a list of examples
## Changelog
Expand Down
Binary file added docs/download/justgage-1.1.0.zip
Binary file not shown.
Binary file added docs/download/justgage-1.2.1.zip
Binary file not shown.
Binary file added docs/download/justgage-1.2.2.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
<div id="jg5" class="gauge size-2"></div>
<div class="h-split"></div>
<div id="jg6" class="gauge size-3"></div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
var jg1, jg2, jg3, jg4, jg5, jg6;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
<p>After every animation end, function will log it below.</p>
<p id="log"></p>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>

/** Random integer */
Expand Down
4 changes: 2 additions & 2 deletions examples/counter.html → docs/examples/counter.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_refresh">Random Refresh</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
var g1;
/** Random integer */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
<p>
Also, if displayed value is out of range, relax and kick your feet up - justGage will take care of it for you.
</p>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
var g1, g2, g3;

Expand Down
4 changes: 2 additions & 2 deletions examples/custom-node.html → docs/examples/custom-node.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
<button type="button" id="g3_refresh">Refresh G3</button>
<button type="button" id="g4_refresh">Refresh G4</button>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ <h3>Value-based sectors</h3>
<a href="#" id="jg2_refresh" class="button grey">Random update</a>
</div>

<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
<body>
<div id="gg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
<p>
Check non-minified version of justgage.js for list of all setup parameters.
</p>
<script src="../raphael.min.js"></script>
<script src="../../raphael.min.js"></script>
<!--<script src="../justgage-1.0.1.js"></script>-->
<script src="../justgage.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
4 changes: 2 additions & 2 deletions examples/defaults.html → docs/examples/defaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<div id="gg1" class="gauge"></div>
<div id="gg2" class="gauge" data-value="25"></div>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_destroy" class="button grey">Destroy Object</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>

document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
<body>
<div id="gg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_refresh">Random Refresh</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
var g1;
/** Random integer */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<div id="gg1" class="gauge"></div>
<a href="#" id="gg1_refresh">Random Refresh</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<input type="button" id="gg1_refresh" class="btn" value="Random Refresh" />
</div>

<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
<body>
<div id="gg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
4 changes: 2 additions & 2 deletions examples/no-title.html → docs/examples/no-title.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
</div>
</div>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>

document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
<a href="#" id="jg1_create" class="button grey">Create object</a>
<a href="#" id="jg1_destroy" class="button grey" style="display:none">Destroy object</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>

document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
4 changes: 2 additions & 2 deletions examples/pointer.html → docs/examples/pointer.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
<div class="container">
<button type="button" id="gauge_refresh">Refresh Gauges</button>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<a href="#" id="g1_setmax200" class="button grey">Set min 30, max 200</a>
<a href="#" id="g1_setmax400" class="button grey">Set min 5, max 400</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
4 changes: 2 additions & 2 deletions examples/reverse.html → docs/examples/reverse.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
<div class="container">
<button type="button" id="gauge_refresh">Refresh Gauges</button>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
<body>
<div id="jg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="jg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_refresh" class="button grey">Refresh Object</a>
</div>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script src="../../raphael.min.js"></script>
<script src="../../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
Expand Down
Binary file added docs/favicon.ico
Binary file not shown.
Loading

0 comments on commit 38400c3

Please sign in to comment.