Skip to content

Commit

Permalink
remove broken download routine
Browse files Browse the repository at this point in the history
  • Loading branch information
dsadinoff committed May 1, 2018
1 parent 4fa0588 commit 28d07b0
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 100 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#dots
#PASSAGE=Deuteronomy.29.28

#PASSAGE=Exodus.10.1-11
PASSAGE=Exodus.10.12-23
PASSAGE=Exodus.10.1-11
#PASSAGE=Exodus.10.12-23
# S2B=./sefaria2braille -e $(ENCODING)
FETCH=./fetchSefaria

Expand Down
14 changes: 0 additions & 14 deletions docs/Exodus.10.1-11.CO.HEH_BCFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down
14 changes: 0 additions & 14 deletions docs/Exodus.10.1-11.CP.HEH_BCFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down
14 changes: 0 additions & 14 deletions docs/Exodus.10.12-23.CO.HEH_BCFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down
14 changes: 0 additions & 14 deletions docs/Exodus.10.12-23.CP.HEH_BCFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down
14 changes: 0 additions & 14 deletions docs/pangram.ashkenaz.CO.HEH_BCFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down
14 changes: 0 additions & 14 deletions docs/pangram.ashkenaz.CP.HEH_BCFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down
14 changes: 0 additions & 14 deletions post-script.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,8 @@

<script>
"use strict";
function download(text, name, type) {
var a = document.getElementById("downlink");
var file = new Blob([text], {type: type});
a.href = URL.createObjectURL(file);
a.download = name;
}
function prepareBrfDownload(){

var contents = document.getElementById("brf-data").textContent;
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
var fileName = fileNameSource.replace('.html','.brf');
download(contents, fileName, 'text/plain');
}

$(document).ready(function(){
prepareBrfDownload();
$('.br-word').hover(
function(e){
var idnum =this.id.substr(3);
Expand Down

0 comments on commit 28d07b0

Please sign in to comment.