Skip to content

Commit

Permalink
Remove old code from Style
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Thakker committed Sep 13, 2016
1 parent 36eb7cf commit 9d5a87e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions js/style/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ var browser = require('../util/browser');
var Dispatcher = require('../util/dispatcher');
var AnimationLoop = require('./animation_loop');
var validateStyle = require('./validate_style');
var Source = require('../source/source');
var QueryFeatures = require('../source/query_features');
var SourceCache = require('../source/source_cache');
var styleSpec = require('./style_spec');
Expand Down Expand Up @@ -682,7 +681,6 @@ Style.prototype = util.inherit(Evented, {

_remove: function() {
this.dispatcher.remove();
Source.off('_add', this._handleAddSourceType);
},

_reloadSource: function(id) {
Expand Down
1 change: 0 additions & 1 deletion test/js/ui/map.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var Map = require('../../../js/ui/map');
var Style = require('../../../js/style/style');
var LngLat = require('../../../js/geo/lng_lat');
var sinon = require('sinon');
var proxyquire = require('proxyquire');

var fixed = require('../../testutil/fixed');
var fixedNum = fixed.Num;
Expand Down

0 comments on commit 9d5a87e

Please sign in to comment.