]> gerrit.simantics Code Review - simantics/district.git/blob - shim.js
28e27f595247bef565bf8e3d373728cb7a1323ce
[simantics/district.git] / shim.js
1 // Taken from: https://github.com/walling/unorm/blob/master/test/es6-shim.js
2
3 'use strict';
4
5 var str = 'äiti';
6
7 module.exports = function (t, a) {
8         a(t.call(str), "\u00e4iti");
9         a(t.call(str, "NFC"), "\u00e4iti");
10         a(t.call(str, "NFD"), "a\u0308iti");
11         a(t.call(str, "NFKC"), "\u00e4iti");
12         a(t.call(str, "NFKD"), "a\u0308iti");
13 };