From 93d3996501c5494b093557feb4d379a86ff7219a Mon Sep 17 00:00:00 2001 From: Nikola Kovacs Date: Sun, 16 Oct 2016 16:47:42 +0200 Subject: [PATCH] Change compile order: put messageFormatters last. See https://github.com/jquery/globalize/issues/563 Fixes #16 --- lib/compile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/compile.js b/lib/compile.js index 7eac60a..2687ce5 100644 --- a/lib/compile.js +++ b/lib/compile.js @@ -9,15 +9,15 @@ COMPILED_ORDER = [ "numberParser", "pluralGenerator", - // Depends on plural. - "messageFormatter", - // Depends on number and/or plural. "currencyFormatter", "dateFormatter", "dateParser", "relativeTimeFormatter", - "unitFormatter" + "unitFormatter", + + // Depends on everything. + "messageFormatter" ]; DEPENDENCIES = {