Skip to content

Commit

Permalink
version 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kariminf committed Jan 1, 2018
1 parent 71fe8e1 commit 500c8c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ You can use a CDN (content-delivery network):
<script type="text/javascript" src="https://unpkg.com/jslingua@version/file" ></script>
```
if you want to use the last version, just replace "version" with "latest".
For example, :
For example:
```javascript
<script type="text/javascript" src="https://unpkg.com/jslingua@latest/jslingua.min.js" ></script>
<script type="text/javascript" src="https://unpkg.com/jslingua@latest/lang.min.js" ></script>
Expand Down Expand Up @@ -111,6 +111,9 @@ var EnLang = JsLingua.getService("Lang", "eng");

//Get Arabic Morpho class
var ArMorpho = JsLingua.getService("Morpho", "ara");

//Get French Morpho class
var FrMorpho = JsLingua.getService("Morpho", "fra");
```

Or, you can just loop over the services and test available languages.
Expand Down Expand Up @@ -138,7 +141,7 @@ All the C's are here:

## License

Copyright (C) 2016-2017 Abdelkrime Aries
Copyright (C) 2016-2018 Abdelkrime Aries

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"jshint": "^2.9.3",
"jslint": "^0.11.0",
"mocha": "^3.5.3",
"uglify-es": "^3.3.1",
"uglify-es": "^3.3.4",
"yuidoc-marviq-theme": "^0.1.5"
},
"scripts": {
Expand Down Expand Up @@ -44,7 +44,8 @@
"normalization",
"arabic",
"english",
"japanese"
"japanese",
"french"
],
"files": [
"info.js",
Expand All @@ -54,6 +55,7 @@
"ara/",
"jpn/",
"eng/",
"fra/",
"dist/",
"test"
],
Expand Down

0 comments on commit 500c8c2

Please sign in to comment.