summaryrefslogtreecommitdiff
path: root/lib/js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/js')
-rw-r--r--lib/js/urweb.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index c5bb58f7..854ebe45 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -943,6 +943,9 @@ function schr(s, ch) {
function ssub(s, start, len) {
return s.substring(start, start+len);
}
+function strlenGe(s, len) {
+ return s.length >= len;
+}
function trimZeroes(s) {
for (var i = 0; i < s.length; ++i)