Commit 220549a4 authored by Christoffer Ackelman's avatar Christoffer Ackelman

JS: Move common functionality to a library file.

parent 35b27bbc
"use strict";
if (!Object.create) {
Object.create = function (proto) {
function ctor() {
}
ctor.prototype = proto;
return new ctor();
};
}
function PwrtStatus(sts) {
this.sts = sts;
......
......@@ -10,6 +10,7 @@
<script src="pwr.js"></script>
<script src="cli.js"></script>
<script src="gdh.js"></script>
<script src="glow.js"></script>
<script src="ge.js"></script>
<hr>
<address><a href="mailto:claes@debian86.ssab.com"></a></address>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment