Browse Source

Tweaked the parse player

pull/62/head
Matthew Holt 11 years ago
parent
commit
e4c9cd57b0
  1. 2
      player/player.html
  2. 3
      player/player.js

2
player/player.html

@ -16,8 +16,8 @@
<div class="grid-25"> <div class="grid-25">
<label><input type="checkbox" id="download"> Download</label> <label><input type="checkbox" id="download"> Download</label>
<label><input type="checkbox" id="stream"> Stream</label> <label><input type="checkbox" id="stream"> Stream</label>
<label><input type="checkbox" id="header"> Header row</label>
<label><input type="checkbox" id="worker"> Worker thread</label> <label><input type="checkbox" id="worker"> Worker thread</label>
<label><input type="checkbox" id="header"> Header row</label>
<label><input type="checkbox" id="dynamicTyping"> Dynamic typing</label> <label><input type="checkbox" id="dynamicTyping"> Dynamic typing</label>
<label>Preview: <input type="number" min="0" max="1000" placeholder="default" id="preview"></label> <label>Preview: <input type="number" min="0" max="1000" placeholder="default" id="preview"></label>
<label>Encoding: <input type="text" id="encoding" placeholder="default" size="10"></label> <label>Encoding: <input type="text" id="encoding" placeholder="default" size="10"></label>

3
player/player.js

@ -5,10 +5,9 @@ $(function()
{ {
$('#submit').click(function() $('#submit').click(function()
{ {
stepped = 0;
var txt = $('#input').val(); var txt = $('#input').val();
var files = $('#files')[0].files; var files = $('#files')[0].files;
stepped = 0;
var config = buildConfig(); var config = buildConfig();
if (files.length > 0) if (files.length > 0)

Loading…
Cancel
Save