Skip to content

Commit

Permalink
[feat] Raphael 2.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Aug 6, 2019
1 parent 4b235eb commit 5debfd6
Show file tree
Hide file tree
Showing 25 changed files with 46 additions and 49 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ or you can always download the CSS and JS files...

```html
<!-- Raphael must be included before justgage -->
<script type="text/javascript" src="path/to/raphael-2.1.4.min.js"></script>
<script type="text/javascript" src="path/to/raphael.min.js"></script>
<script type="text/javascript" src="path/to/justgage.js"></script>
```

Expand Down
2 changes: 1 addition & 1 deletion examples/adaptive-size.htm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<div id="jg5" class="gauge size-2"></div>
<div class="h-split"></div>
<div id="jg6" class="gauge size-3"></div>
<script src="../raphael-2.1.4.min.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/animation-events-hooks.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
<p>After every animation end, function will log it below.</p>
<p id="log"></p>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>

/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
Expand Down
2 changes: 1 addition & 1 deletion examples/counter.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_refresh">Random Refresh</a>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
var g1;
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-interval.htm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<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-2.1.4.min.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
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
<button type="button" id="g3_refresh">Refresh G3</button>
<button type="button" id="g4_refresh">Refresh G4</button>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var gNode1 = document.createElement('div');
gNode1.setAttribute("class", "gauge");
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-sectors.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ <h3>Value-based sectors</h3>
<a href="#" id="jg2_refresh" class="button grey">Random update</a>
</div>

<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var jg1 = new JustGage({
id: "jg1",
Expand Down
4 changes: 2 additions & 2 deletions examples/custom-value-renderer.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
<body>
<div id="gg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var gg1 = new JustGage({
id: "gg1",
Expand Down
4 changes: 2 additions & 2 deletions examples/customize-style.htm
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
<p>
Check non-minified version of justgage.js for list of all setup parameters.
</p>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<!--<script src="../justgage-1.0.1.js"></script>-->
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {

var g1, g2, g3, g4, g5, g6;
Expand Down
2 changes: 1 addition & 1 deletion examples/defaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div id="gg1" class="gauge"></div>
<div id="gg2" class="gauge" data-value="25"></div>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
Expand Down
2 changes: 1 addition & 1 deletion examples/destroy-object.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_destroy" class="button grey">Destroy Object</a>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>

Expand Down
4 changes: 2 additions & 2 deletions examples/display-remaining.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
<body>
<div id="gg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var gg1 = new JustGage({
id: "gg1",
Expand Down
4 changes: 2 additions & 2 deletions examples/font-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_refresh">Random Refresh</a>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
var g1;
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
g1 = new JustGage({
id: "g1",
Expand Down
2 changes: 1 addition & 1 deletion examples/format-number.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div id="gg1" class="gauge"></div>
<a href="#" id="gg1_refresh">Random Refresh</a>
</div>
<script src="../raphael-2.1.4.min.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/html5-data-attribute-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
<input type="button" id="gg1_refresh" class="btn" value="Random Refresh" />
</div>

<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var gg1 = new JustGage({
id: "gg1",
Expand Down
4 changes: 2 additions & 2 deletions examples/human-friendly-numbers.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
<body>
<div id="gg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="gg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var gg1 = new JustGage({
id: "gg1",
Expand Down
2 changes: 1 addition & 1 deletion examples/no-title.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</div>
</div>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>

Expand Down
2 changes: 1 addition & 1 deletion examples/object-destroy.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<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-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>

Expand Down
4 changes: 2 additions & 2 deletions examples/pointer.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
<div class="container">
<button type="button" id="gauge_refresh">Refresh Gauges</button>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {

var g1 = new JustGage({
Expand Down
4 changes: 2 additions & 2 deletions examples/refresh-minimum-maximum.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
<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-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {

var g1 = new JustGage({
Expand Down
4 changes: 2 additions & 2 deletions examples/reverse.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
<div class="container">
<button type="button" id="gauge_refresh">Refresh Gauges</button>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {

var g1 = new JustGage({
Expand Down
4 changes: 2 additions & 2 deletions examples/text-renderer-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
<body>
<div id="jg1" style="width: 200px; height: 150px;"></div>
<a href="#" id="jg1_refresh" class="button grey">Random Refresh</a>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {
var maxx = 100;

Expand Down
4 changes: 2 additions & 2 deletions examples/update-object.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
<div id="g1" class="gauge"></div>
<a href="#" id="g1_refresh" class="button grey">Refresh Object</a>
</div>
<script src="../raphael-2.1.4.min.js"></script>
<script src="../raphael.min.js"></script>
<script src="../justgage.js"></script>
<script>
/** Random integer */
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}

document.addEventListener("DOMContentLoaded", function (event) {

var g1 = new JustGage({
Expand Down
12 changes: 0 additions & 12 deletions raphael-2.1.4.min.js

This file was deleted.

9 changes: 9 additions & 0 deletions raphael.min.js

Large diffs are not rendered by default.

0 comments on commit 5debfd6

Please sign in to comment.