summaryrefslogtreecommitdiff
path: root/node_modules/thenby/thenBy.min.js
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2025-11-24 20:54:57 +0100
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2025-11-24 20:57:48 +0100
commitb1e2c8fd5cb5dfa46bc440a12eafaf56cd844b1c (patch)
tree49d360fd6cbc6a2754efe93524ac47ff0fbe0f7d /node_modules/thenby/thenBy.min.js
Docs
Diffstat (limited to 'node_modules/thenby/thenBy.min.js')
-rw-r--r--node_modules/thenby/thenBy.min.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/thenby/thenBy.min.js b/node_modules/thenby/thenBy.min.js
new file mode 100644
index 0000000..ba9ef0b
--- /dev/null
+++ b/node_modules/thenby/thenBy.min.js
@@ -0,0 +1,2 @@
+/*** Copyright 2020 Teun Duynstee Licensed under the Apache License, Version 2.0 ***/
+!function(n,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():n.firstBy=t()}(this,function(){return function(){function n(n){return n}function t(n){return"string"==typeof n?n.toLowerCase():n}function e(e,r){if(r="object"==typeof r?r:{direction:r},"function"!=typeof e){var i=e;e=function(n){return n[i]?n[i]:""}}if(1===e.length){var o=e,f=r.ignoreCase?t:n,u=r.cmp||function(n,t){return n<t?-1:n>t?1:0};e=function(n,t){return u(f(o(n)),f(o(t)))}}const c={"-1":"",desc:""};return r.direction in c?function(n,t){return-e(n,t)}:e}function r(n,t){var i="function"==typeof this&&!this.firstBy&&this,o=e(n,t),f=i?function(n,t){return i(n,t)||o(n,t)}:o;return f.thenBy=r,f}return r.firstBy=r,r}()}); \ No newline at end of file