Skip to content

Commit

Permalink
Merge pull request #35 from jamiefaye/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
jamiefaye authored Aug 15, 2019
2 parents 4aa8946 + e047627 commit 20638cc
Show file tree
Hide file tree
Showing 129 changed files with 10,625 additions and 21,881 deletions.
1 change: 0 additions & 1 deletion DR/FTF/List.js

This file was deleted.

63 changes: 62 additions & 1 deletion DR/midian/midian.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,65 @@ div.selbox {
background-color: gray;
position: absolute;
opacity: 0.2;
}
}



/* Root element */
.json-document {
padding: 1em 2em;
}

/* Syntax highlighting for JSON objects */
ul.json-dict, ol.json-array {
list-style-type: none;
margin: 0 0 0 1px;
border-left: 1px dotted #ccc;
padding-left: 2em;
}
.json-string {
color: #0B7500;
}
.json-literal {
color: #1A01CC;
font-weight: bold;
}

/* Toggle button */
a.json-toggle {
position: relative;
color: inherit;
text-decoration: none;
}
a.json-toggle:focus {
outline: none;
}
a.json-toggle:before {
font-size: 1.1em;
color: #c0c0c0;
content: "\25BC"; /* down arrow */
position: absolute;
display: inline-block;
width: 1em;
text-align: center;
line-height: 1em;
left: -1.2em;
}
a.json-toggle:hover:before {
color: #aaa;
}
a.json-toggle.collapsed:before {
/* Use rotated down arrow, prevents right arrow appearing smaller than down arrow in some browsers */
transform: rotate(-90deg);
}

/* Collapsable placeholder links */
a.json-placeholder {
color: #aaa;
padding: 0 1em;
text-decoration: none;
}
a.json-placeholder:hover {
text-decoration: underline;
}

28 changes: 14 additions & 14 deletions DR/midian/midian.js

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions DR/midian/xpj2json.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="UTF-8">
<title>Midian</title>
<!-- https://stackoverflow.com/questions/951791/javascript-global-error-handling -->
<div id="npoptemp" style="display: none;"></div>
<script type="text/javascript">

window.onerror = function(msg, url, line, col, error) {
var extra = !col ? '' : '\ncolumn: ' + col;
extra += !error ? '' : '\nerror: ' + error;
alert("Error: " + msg + "\nurl: " + url + "\nline: " + line + extra);
return true;
};

var buildType='xpj2json';
</script>
<link rel="stylesheet" href="filewidget.css">
<link rel="stylesheet" href="edit.css">
<link rel="stylesheet" href="midian.css">

</head>
<body>
This program lets you view MPC .xpj-format using a JSON browser.
<p>
To use this program, press the "Choose File" button and select a xpj file to work with. You will then see a "wedge" pointing to the right. Clip on that to explore deeper. Repeat as desired.
<p>
<table class='nobord'><tr>
<td><input id='midiopenlocal' name="file" type="file" accept=".xpj,.XPJ"/></td>
</tr>
</table>
</div>
<div id='popupspot'></div>
<p class='tinygap'/>
<div id='midiview'>
</div>

<div id='docspot'>
</div>
<div id='midiantab'>
</div>
© 2019 Catnip/Jamie Faye Fenton.
<script src="midian.js"></script>
</body>
</html>
47 changes: 47 additions & 0 deletions DR/midian/xpj2midi.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta charset="UTF-8">
<title>Midian</title>
<!-- https://stackoverflow.com/questions/951791/javascript-global-error-handling -->
<div id="npoptemp" style="display: none;"></div>
<script type="text/javascript">

window.onerror = function(msg, url, line, col, error) {
var extra = !col ? '' : '\ncolumn: ' + col;
extra += !error ? '' : '\nerror: ' + error;
alert("Error: " + msg + "\nurl: " + url + "\nline: " + line + extra);
return true;
};

var buildType='xpj2midi';
</script>
<link rel="stylesheet" href="filewidget.css">
<link rel="stylesheet" href="edit.css">
<link rel="stylesheet" href="midian.css">

</head>
<body>
This program lets you open MPC .xpj-format files for conversion to .mid (Midi) files.
<p>
To use this program, press the "Choose File" button and select a xpj file to work with.
<p>
<table class='nobord'><tr>
<td><input id='midiopenlocal' name="file" type="file" accept=".xpj,.XPJ"/></td>
</tr>
</table>
</div>
<div id='popupspot'></div>
<p class='tinygap'/>
<div id='midiview'>
</div>

<div id='docspot'>
</div>
<div id='midiantab'>
</div>
© 2019 Catnip/Jamie Faye Fenton.
<script src="midian.js"></script>
</body>
</html>
Loading

0 comments on commit 20638cc

Please sign in to comment.