File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ You can use a CDN (content-delivery network):
7777< script type= " text/javascript" src= " https://unpkg.com/jslingua@version/file" >< / script>
7878```
7979if you want to use the last version, just replace "version" with "latest".
80- For example, :
80+ For example:
8181``` javascript
8282< script type= " text/javascript" src= " https://unpkg.com/jslingua@latest/jslingua.min.js" >< / script>
8383< script type= " text/javascript" src= " https://unpkg.com/jslingua@latest/lang.min.js" >< / script>
@@ -111,6 +111,9 @@ var EnLang = JsLingua.getService("Lang", "eng");
111111
112112// Get Arabic Morpho class
113113var ArMorpho = JsLingua .getService (" Morpho" , " ara" );
114+
115+ // Get French Morpho class
116+ var FrMorpho = JsLingua .getService (" Morpho" , " fra" );
114117```
115118
116119Or, you can just loop over the services and test available languages.
@@ -138,7 +141,7 @@ All the C's are here:
138141
139142## License
140143
141- Copyright (C) 2016-2017 Abdelkrime Aries
144+ Copyright (C) 2016-2018 Abdelkrime Aries
142145
143146Licensed under the Apache License, Version 2.0 (the "License");
144147you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1313 "jshint" : " ^2.9.3" ,
1414 "jslint" : " ^0.11.0" ,
1515 "mocha" : " ^3.5.3" ,
16- "uglify-es" : " ^3.3.1 " ,
16+ "uglify-es" : " ^3.3.4 " ,
1717 "yuidoc-marviq-theme" : " ^0.1.5"
1818 },
1919 "scripts" : {
4444 " normalization" ,
4545 " arabic" ,
4646 " english" ,
47- " japanese"
47+ " japanese" ,
48+ " french"
4849 ],
4950 "files" : [
5051 " info.js" ,
5455 " ara/" ,
5556 " jpn/" ,
5657 " eng/" ,
58+ " fra/" ,
5759 " dist/" ,
5860 " test"
5961 ],
You can’t perform that action at this time.
0 commit comments