Skip to content

Commit

Permalink
Remove mapboxgl.WorkerPool
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Thakker committed Aug 23, 2016
1 parent 1efb12f commit ea12906
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions js/mapbox-gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ mapboxgl.Scale = require('./ui/control/scale');
mapboxgl.Popup = require('./ui/popup');
mapboxgl.Marker = require('./ui/marker');

mapboxgl.WorkerPool = require('./util/worker_pool');

mapboxgl.Style = require('./style/style');

mapboxgl.LngLat = require('./geo/lng_lat');
Expand Down
2 changes: 1 addition & 1 deletion test/js/mapbox-gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test('mapboxgl', function(t) {
});

t.test('.workerCount defaults to hardwareConcurrency - 1', function (t) {
var mapboxgl = proxyquire('../../../js/mapbox-gl', {
var mapboxgl = proxyquire('../../js/mapbox-gl', {
'./util/browser': { hardwareConcurrency: 15 }
});
t.equal(mapboxgl.workerCount, 14);
Expand Down

0 comments on commit ea12906

Please sign in to comment.