diff --git a/HISTORY.md b/HISTORY.md index 6f8d222..b199c05 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +## 2.1.4_3 + +* Fix bug on loading multiple plugins. (#5) + ## 2.1.4_2 * Fix map loading in cordova builds in Android. (#3) diff --git a/README.md b/README.md index de59ab4..2d95813 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Mapbox.js for [Meteor](https://www.meteor.com/) apps. Current Mapbox version: `2 ## Install $ cd to/my/meteor/project - $ meteor add pauloborges:mapbox@2.1.4_2 + $ meteor add pauloborges:mapbox@2.1.4_3 or (if you want to modify the code): @@ -56,7 +56,7 @@ check if it finished loading. This function is reactive. var map = L.mapbox.map('map', MY_MAP_ID); } }); - + // Using a template's rendered callback Meteor.startup(function(){ @@ -66,9 +66,8 @@ check if it finished loading. This function is reactive. Template.Map.rendered = function () { this.autorun(function () { if (Mapbox.loaded()) { - L.mapbox.accessToken = TOKEN; + L.mapbox.accessToken = TOKEN; var map = L.mapbox.map('map', MAP_ID); } }); }; - diff --git a/package.js b/package.js index 8346f93..a586994 100644 --- a/package.js +++ b/package.js @@ -22,7 +22,7 @@ Package.describe({ name: 'pauloborges:mapbox', summary: 'Mapbox.js for Meteor apps', - version: '2.1.4_2', + version: '2.1.4_3', git: 'https://github.com/pauloborges/meteor-mapbox.git' });