Skip to content

Commit

Permalink
[docs] Fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Sep 10, 2019
1 parent 878bdc4 commit 585b0ff
Show file tree
Hide file tree
Showing 26 changed files with 1,362 additions and 47 deletions.
4 changes: 2 additions & 2 deletions docs/examples/adaptive-size.htm
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
4 changes: 2 additions & 2 deletions docs/examples/animation-events-hooks.html
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 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
4 changes: 2 additions & 2 deletions docs/examples/custom-interval.htm
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 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
4 changes: 2 additions & 2 deletions docs/examples/custom-sectors.html
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
4 changes: 2 additions & 2 deletions docs/examples/custom-value-renderer.html
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 docs/examples/customize-style.htm
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 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
4 changes: 2 additions & 2 deletions docs/examples/destroy-object.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_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
4 changes: 2 additions & 2 deletions docs/examples/display-remaining.html
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 docs/examples/font-options.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
4 changes: 2 additions & 2 deletions docs/examples/format-number.html
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
4 changes: 2 additions & 2 deletions docs/examples/html5-data-attribute-config.html
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
4 changes: 2 additions & 2 deletions docs/examples/human-friendly-numbers.html
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 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
4 changes: 2 additions & 2 deletions docs/examples/object-destroy.html
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 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
4 changes: 2 additions & 2 deletions docs/examples/refresh-minimum-maximum.html
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 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
4 changes: 2 additions & 2 deletions docs/examples/text-renderer-2.html
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
4 changes: 2 additions & 2 deletions docs/examples/update-object.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" 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
3 changes: 1 addition & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,10 @@ <h1>What can it do?</h1>
</li>
</ul>
</div>
<h1>More examples:</h3>
<h1>More examples</h3>
<ul class="highlights clear" id="examples"></ul>
</div>


</div>

<!-- RELEASE NOTES -->
Expand Down
Loading

0 comments on commit 585b0ff

Please sign in to comment.