Skip to content

Commit

Permalink
Update docs and test to newer version of mapbox-gl-rtl-text plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLoer committed Jun 16, 2017
1 parent a222ef1 commit 6a64798
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_posts/examples/3400-01-31-mapbox-gl-rtl-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div id='map'></div>

<script>
mapboxgl.setRTLTextPlugin('https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.0/mapbox-gl-rtl-text.js');
mapboxgl.setRTLTextPlugin('https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.1/mapbox-gl-rtl-text.js');

var map = new mapboxgl.Map({
container: 'map',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"webworkify": "^1.4.0"
},
"devDependencies": {
"@mapbox/mapbox-gl-rtl-text": "^0.1.0",
"@mapbox/mapbox-gl-rtl-text": "^0.1.1",
"@mapbox/mapbox-gl-test-suite": "file:test/integration",
"babel-eslint": "^7.0.0",
"benchmark": "~2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ mapboxgl.setRTLTextPlugin = rtlTextPlugin.setRTLTextPlugin;
* @param {string} pluginURL URL pointing to the Mapbox RTL text plugin source.
* @param {Function} callback Called with an error argument if there is an error.
* @example
* mapboxgl.setRTLTextPlugin('https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.0/mapbox-gl-rtl-text.js');
* mapboxgl.setRTLTextPlugin('https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.1.1/mapbox-gl-rtl-text.js');
* @see [Add support for right-to-left scripts](https://www.mapbox.com/mapbox-gl-js/example/mapbox-gl-rtl-text/)
*/

Expand Down

0 comments on commit 6a64798

Please sign in to comment.