linny-r 1.1.23 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -6
- package/package.json +1 -1
- package/static/images/combination.png +0 -0
- package/static/images/iterator.png +0 -0
- package/static/images/scale.png +0 -0
- package/static/index.html +198 -13
- package/static/linny-r.css +214 -33
- package/static/scripts/linny-r-config.js +6 -0
- package/static/scripts/linny-r-ctrl.js +23 -7
- package/static/scripts/linny-r-gui.js +666 -111
- package/static/scripts/linny-r-model.js +873 -224
- package/static/scripts/linny-r-utils.js +5 -0
- package/static/scripts/linny-r-vm.js +310 -89
@@ -238,6 +238,11 @@ function markFirstDifference(s1, s2) {
|
|
238
238
|
// Functions that perform string search, comparison and/or substitution
|
239
239
|
//
|
240
240
|
|
241
|
+
function ciCompare(a, b) {
|
242
|
+
// Performs case-insensitive comparison
|
243
|
+
return a.localeCompare(b, undefined, {sensitivity: 'base'});
|
244
|
+
}
|
245
|
+
|
241
246
|
function endsWithDigits(str) {
|
242
247
|
// Returns trailing digts of `str` (empty string will evaluate as FALSE)
|
243
248
|
let i = str.length - 1,
|