Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Merge branch 'patch-1' of https://github.com/i8ramin/Intl.js
Browse files Browse the repository at this point in the history
  • Loading branch information
caridy committed Oct 11, 2016
2 parents f3604b8 + b74fbd0 commit c96a6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ defineProperty(Intl, '__applyLocaleSensitivePrototypes', {
defineProperty(Intl, '__addLocaleData', {
value: function (data) {
if (!IsStructurallyValidLanguageTag(data.locale))
throw new Error("Object passed doesn't identify itself with a valid language tag");
throw new Error("Object passed (" + data.locale + ") doesn't identify itself with a valid language tag");

addLocaleData(data, data.locale);
}
Expand Down

0 comments on commit c96a6f6

Please sign in to comment.