Skip to content

Commit 28d07b0

Browse files
committed
remove broken download routine
1 parent 4fa0588 commit 28d07b0

8 files changed

+2
-100
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#dots
22
#PASSAGE=Deuteronomy.29.28
33

4-
#PASSAGE=Exodus.10.1-11
5-
PASSAGE=Exodus.10.12-23
4+
PASSAGE=Exodus.10.1-11
5+
#PASSAGE=Exodus.10.12-23
66
# S2B=./sefaria2braille -e $(ENCODING)
77
FETCH=./fetchSefaria
88

docs/Exodus.10.1-11.CO.HEH_BCFT.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,8 @@
5858

5959
<script>
6060
"use strict";
61-
function download(text, name, type) {
62-
var a = document.getElementById("downlink");
63-
var file = new Blob([text], {type: type});
64-
a.href = URL.createObjectURL(file);
65-
a.download = name;
66-
}
67-
function prepareBrfDownload(){
68-
69-
var contents = document.getElementById("brf-data").textContent;
70-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
71-
var fileName = fileNameSource.replace('.html','.brf');
72-
download(contents, fileName, 'text/plain');
73-
}
7461

7562
$(document).ready(function(){
76-
prepareBrfDownload();
7763
$('.br-word').hover(
7864
function(e){
7965
var idnum =this.id.substr(3);

docs/Exodus.10.1-11.CP.HEH_BCFT.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,8 @@
5858

5959
<script>
6060
"use strict";
61-
function download(text, name, type) {
62-
var a = document.getElementById("downlink");
63-
var file = new Blob([text], {type: type});
64-
a.href = URL.createObjectURL(file);
65-
a.download = name;
66-
}
67-
function prepareBrfDownload(){
68-
69-
var contents = document.getElementById("brf-data").textContent;
70-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
71-
var fileName = fileNameSource.replace('.html','.brf');
72-
download(contents, fileName, 'text/plain');
73-
}
7461

7562
$(document).ready(function(){
76-
prepareBrfDownload();
7763
$('.br-word').hover(
7864
function(e){
7965
var idnum =this.id.substr(3);

docs/Exodus.10.12-23.CO.HEH_BCFT.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,8 @@
6060

6161
<script>
6262
"use strict";
63-
function download(text, name, type) {
64-
var a = document.getElementById("downlink");
65-
var file = new Blob([text], {type: type});
66-
a.href = URL.createObjectURL(file);
67-
a.download = name;
68-
}
69-
function prepareBrfDownload(){
70-
71-
var contents = document.getElementById("brf-data").textContent;
72-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
73-
var fileName = fileNameSource.replace('.html','.brf');
74-
download(contents, fileName, 'text/plain');
75-
}
7663

7764
$(document).ready(function(){
78-
prepareBrfDownload();
7965
$('.br-word').hover(
8066
function(e){
8167
var idnum =this.id.substr(3);

docs/Exodus.10.12-23.CP.HEH_BCFT.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,8 @@
6060

6161
<script>
6262
"use strict";
63-
function download(text, name, type) {
64-
var a = document.getElementById("downlink");
65-
var file = new Blob([text], {type: type});
66-
a.href = URL.createObjectURL(file);
67-
a.download = name;
68-
}
69-
function prepareBrfDownload(){
70-
71-
var contents = document.getElementById("brf-data").textContent;
72-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
73-
var fileName = fileNameSource.replace('.html','.brf');
74-
download(contents, fileName, 'text/plain');
75-
}
7663

7764
$(document).ready(function(){
78-
prepareBrfDownload();
7965
$('.br-word').hover(
8066
function(e){
8167
var idnum =this.id.substr(3);

docs/pangram.ashkenaz.CO.HEH_BCFT.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,8 @@
4848

4949
<script>
5050
"use strict";
51-
function download(text, name, type) {
52-
var a = document.getElementById("downlink");
53-
var file = new Blob([text], {type: type});
54-
a.href = URL.createObjectURL(file);
55-
a.download = name;
56-
}
57-
function prepareBrfDownload(){
58-
59-
var contents = document.getElementById("brf-data").textContent;
60-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
61-
var fileName = fileNameSource.replace('.html','.brf');
62-
download(contents, fileName, 'text/plain');
63-
}
6451

6552
$(document).ready(function(){
66-
prepareBrfDownload();
6753
$('.br-word').hover(
6854
function(e){
6955
var idnum =this.id.substr(3);

docs/pangram.ashkenaz.CP.HEH_BCFT.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,8 @@
4848

4949
<script>
5050
"use strict";
51-
function download(text, name, type) {
52-
var a = document.getElementById("downlink");
53-
var file = new Blob([text], {type: type});
54-
a.href = URL.createObjectURL(file);
55-
a.download = name;
56-
}
57-
function prepareBrfDownload(){
58-
59-
var contents = document.getElementById("brf-data").textContent;
60-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
61-
var fileName = fileNameSource.replace('.html','.brf');
62-
download(contents, fileName, 'text/plain');
63-
}
6451

6552
$(document).ready(function(){
66-
prepareBrfDownload();
6753
$('.br-word').hover(
6854
function(e){
6955
var idnum =this.id.substr(3);

post-script.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,8 @@
55

66
<script>
77
"use strict";
8-
function download(text, name, type) {
9-
var a = document.getElementById("downlink");
10-
var file = new Blob([text], {type: type});
11-
a.href = URL.createObjectURL(file);
12-
a.download = name;
13-
}
14-
function prepareBrfDownload(){
15-
16-
var contents = document.getElementById("brf-data").textContent;
17-
var fileNameSource = document.getElementById("brf-data").dataset.sourceFileName;
18-
var fileName = fileNameSource.replace('.html','.brf');
19-
download(contents, fileName, 'text/plain');
20-
}
218

229
$(document).ready(function(){
23-
prepareBrfDownload();
2410
$('.br-word').hover(
2511
function(e){
2612
var idnum =this.id.substr(3);

0 commit comments

Comments
 (0)