Skip to content

Commit 6dd478c

Browse files
jayly-botbot174
andauthored
Add intl polyfill (JaylyDev#101)
* Add intl * Add intl * Add intl * Add intl * Add intl * Add intl * Add intl * Add intl * Add intl * Add license from original repository https://github.com/andyearnshaw/Intl.js/blob/master/LICENSE.txt Co-authored-by: bot174 <91819282+bot174@users.noreply.github.com>
1 parent a87c352 commit 6dd478c

File tree

4 files changed

+5282
-0
lines changed

4 files changed

+5282
-0
lines changed

scripts/intl/LICENSE.txt

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013 Andy Earnshaw
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
22+
23+
24+
------------------------------------------------------------------------------
25+
Contents of the `locale-data` directory are a modified form of the Unicode CLDR
26+
data found at http://www.unicode.org/cldr/data/. It comes with the following
27+
license.
28+
29+
COPYRIGHT AND PERMISSION NOTICE
30+
31+
Copyright (c) 1991-2013 Unicode, Inc. All rights reserved. Distributed under
32+
the Terms of Use in http://www.unicode.org/copyright.html.
33+
34+
Permission is hereby granted, free of charge, to any person obtaining a copy of
35+
the Unicode data files and any associated documentation (the "Data Files") or
36+
Unicode software and any associated documentation (the "Software") to deal in
37+
the Data Files or Software without restriction, including without limitation
38+
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
39+
of the Data Files or Software, and to permit persons to whom the Data Files or
40+
Software are furnished to do so, provided that (a) the above copyright
41+
notice(s) and this permission notice appear with all copies of the Data Files
42+
or Software, (b) both the above copyright notice(s) and this permission notice
43+
appear in associated documentation, and (c) there is clear notice in each
44+
modified Data File or in the Software as well as in the documentation
45+
associated with the Data File(s) or Software that the data or software has been
46+
modified.
47+
48+
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
49+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
50+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD
51+
PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN
52+
THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
53+
DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
54+
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
55+
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
56+
SOFTWARE.
57+
58+
Except as contained in this notice, the name of a copyright holder shall not be
59+
used in advertising or otherwise to promote the sale, use or other dealings in
60+
these Data Files or Software without prior written authorization of the
61+
copyright holder.
62+
63+
Unicode and the Unicode logo are trademarks of Unicode, Inc. in the United
64+
States and other countries. All third party trademarks referenced herein are
65+
the property of their respective owners.

scripts/intl/intl.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Script examples for ScriptAPI
2+
// Author: Andy Earnshaw <https://github.com/andyearnshaw/Intl.js>
3+
4+
// Type definitions for intl 1.2
5+
// Project: https://github.com/andyearnshaw/Intl.js
6+
// Definitions by: Muhammad Ragib Hasin <https://github.com/RagibHasin>
7+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
8+
9+
export = Intl;

0 commit comments

Comments
 (0)