Skip to content

Commit 67a9522

Browse files
authored
Update lib.js
1 parent d674bd3 commit 67a9522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/textfacts/lib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ exports.getCount = function() {
33
return 162;
44
};
55
exports.getText = function(n) {
6-
/*var s = require("Storage").read("textsource.txt");
6+
var s = require("Storage").read("textsource.txt");
77
var idx = s.indexOf("\n");
88
var lengths = [idx];
99
while (idx>=0) {
@@ -26,4 +26,4 @@ exports.getText = function(n) {
2626
exports.getRandomText = function() {
2727
let n = Math.floor(Math.random()*exports.getCount());
2828
return { idx : n, txt : exports.getText(n) };
29-
};
29+
};

0 commit comments

Comments
 (0)