Skip to content

Commit

Permalink
Add missing file.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Jul 2, 2024
1 parent a0a8734 commit bf404e2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
source "https://rubygems.org"

gem 'github-pages', group: :jekyll_plugins
gem 'jekyll', '~> 3.8.7'
#gem 'jekyll', '~> 3.9'
#gem 'jekyll', '~> 3.8.7'
gem 'jekyll', '~> 3.9'
gem 'rexml'

gem "webrick", "~> 1.8"
24 changes: 24 additions & 0 deletions _includes/vhv-scripts/html/getChecksum.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% comment %}
//
// Programmer: Craig Stuart Sapp <[email protected]>
// Creation Date: Tue Jul 2 21:02:53 CEST 2024
// Last Modified: Tue Jul 2 21:02:56 CEST 2024
// Filename: _includes/vhv-scripts/html/getChecksum.js
// Included in: _includes/vhv-scripts/html/main.js
// Syntax: HTML; ECMAScript 6; Jekyll/Liquid
// vim: ts=3:nowrap
//
// Description: Get simple checksum for avoiding retypesetting SCORE files.
//
{% endcomment %}

function getChecksum(humdrum) {
let sum = 0;
for (let i=0; i<humdrum.length; i++) {
sum += humdrum.charCodeAt(i);
}
return sum;
}



0 comments on commit bf404e2

Please sign in to comment.