Skip to content

Commit

Permalink
Remove use of moment.js.
Browse files Browse the repository at this point in the history
moment.js was only used for client-side date/time validation of Spectrum File Query Tool, and it was maybe not even in a working state - so just changed to use server-side date/time validation, which is a bit more consistent with rest of app anyway.  The outdated version of moment.js that was being used was also erroneously triggering some vulnerability scanners.

Also made it so macOS will highlight file when shown in Finder from the Spectrum File Query Tool.
  • Loading branch information
wcjohns committed Aug 7, 2024
1 parent c63f90e commit ad0f77e
Show file tree
Hide file tree
Showing 132 changed files with 42 additions and 15,850 deletions.
2 changes: 1 addition & 1 deletion InterSpec/PhysicalUnits.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ namespace PhysicalUnits
extern const char * const sm_positiveDecimalRegex;

//printToBest____Units(...): makes an attempt to turn the input into a user
// readable string. The optional defineitions of units are convience
// readable string. The optional definitions of units are convenience
// variables for when you're working in units that are not from this
// namespace.
// TODO: instead of specifying number of digits past the decimal, should convert to using number of significant figures.
Expand Down
22 changes: 0 additions & 22 deletions InterSpec_resources/assets/js/moment-2.22.2/LICENSE

This file was deleted.

64 changes: 0 additions & 64 deletions InterSpec_resources/assets/js/moment-2.22.2/README.md

This file was deleted.

72 changes: 0 additions & 72 deletions InterSpec_resources/assets/js/moment-2.22.2/locale/af.js

This file was deleted.

58 changes: 0 additions & 58 deletions InterSpec_resources/assets/js/moment-2.22.2/locale/ar-dz.js

This file was deleted.

58 changes: 0 additions & 58 deletions InterSpec_resources/assets/js/moment-2.22.2/locale/ar-kw.js

This file was deleted.

Loading

0 comments on commit ad0f77e

Please sign in to comment.