How to use the @vssue/utils.compareDateDesc function in @vssue/utils

To help you get started, we’ve selected a few @vssue/utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github meteorlxy / vssue / packages / vssue / dist / vssue.common.js View on Github external
                        this.comments.sort(function (a, b) { return utils.compareDateDesc(a.createdAt, b.createdAt); });
                        return [3 /*break*/, 3];