forked from fivetanley/i18nliner-handlebars
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the workaround for handlebars-lang/handlebars.js/issues/748 employed a sorting routine that was not commutative and with the v8 upgrade in node11, the order of the arguments changed (and is considered an implementation detail that we're not meant to rely on) and so the routine would yield surprising results this patch reimplements that sorting routine to always yield the same result regardless of the order of the operands, so should work on node < 11 and > 11 test plan: there is already a case for this, so I just added node12 to the travis language matrix
- Loading branch information
Showing
3 changed files
with
13 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
before_script: 'npm install -g grunt-cli' | ||
language: node_js | ||
node_js: | ||
- "6" | ||
- "5" | ||
- "4" | ||
- "10" | ||
- "12" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters