Rename some files

This commit is contained in:
Namhyeon Go 2024-11-15 04:05:06 +09:00
parent d9ac6d01d0
commit 9b50e5b078
7 changed files with 28 additions and 6 deletions

2
app.js
View File

@ -639,7 +639,7 @@ if (typeof JSON === "undefined") {
require("app/assets/js/core-js-3.38.0.minified");
// Squel.js SQL query string builder for Javascript
var squel = require("app/assets/js/squel-basic-5.13.0.hiddentao-afa1cb5.wsh");
var squel = require("app/assets/js/squel-basic-5.13.0-afa1cb5.wsh");
// JavaScript YAML parser and dumper.
var yaml = require("app/assets/js/js-yaml-4.1.0.wsh");

View File

@ -1443,6 +1443,7 @@ matrix.determinant = function (m) {
return m[0][0] * m[1][1] - m[0][1] * m[1][0];
}
/*
for (col = 0; col < numCol; col++) {
diagLeft = m[0][col];
diagRight = m[0][col];
@ -1454,8 +1455,29 @@ matrix.determinant = function (m) {
det += diagRight - diagLeft;
}
return det;
*/
// new algorithm for matrix determinant #161 @youngbizman
// https://github.com/numbers/numbers.js/pull/161
// https://github.com/numbers/numbers.js/issues/160
var indexColumn = 0;
var result = 0;
var numberOfAddedRows = 0;
while (indexColumn < numCol) {
numberOfAddedRows = 0;
var newArray = new Array();
while (numberOfAddedRows < numRow - 1) {
newArray.push(m[numberOfAddedRows + 1].slice(0, indexColumn).concat(m[numberOfAddedRows + 1].slice(indexColumn + 1)));
numberOfAddedRows++;
}
result += Math.pow(-1, indexColumn) * m[0][indexColumn] * matrix.determinant(newArray);
indexColumn++;
}
return result;
};
/**

View File

@ -205,8 +205,8 @@ function start(callback) {
}
addScript("app/assets/js/html5shiv-printshiv-3.7.3.min.js");
if (msie < 9) {
addScript("app/assets/js/respond-1.4.2.edited.js");
addScript("app/assets/js/selectivizr-1.0.2.edited.js");
addScript("app/assets/js/respond-1.4.2.wsh.js");
addScript("app/assets/js/selectivizr-1.0.2.wsh.js");
addScript("app/assets/js/excanvas.arv-565afad.js");
waitUntil(function(test, ttl) {
@ -221,7 +221,7 @@ function start(callback) {
return window.jQuery;
});
}
addScript("app/assets/js/jquery.html5-placeholder-shim.jcampbell1-5a87f05.js");
addScript("app/assets/js/jquery.html5-placeholder-shim-5a87f05.js");
// load Modernizr (2.8.3)
addScript("app/assets/js/modernizr-2.8.3.min.js");
@ -254,7 +254,7 @@ exports.start = start;
exports.reload = reload;
exports.close = close;
exports.VERSIONINFO = "Browser Compatibility Library (browser.js) version 0.1.5";
exports.VERSIONINFO = "Browser Compatibility Library (browser.js) version 0.1.6";
exports.AUTHOR = "abuse@catswords.net";
exports.global = global;
exports.require = global.require;