// Root file loaded by RequireJS

require.config({
    paths: {
        'jquery': 'lib/jquery',
        'handlebars': 'lib/handlebars'
    },
});

require([
    'jQuery',
    'map_controller'
  ],
function($, MapController) {
  $(function() {
    $('.js-map').each(function(_index, canvas) {
      var controller = new MapController(canvas);
    });
  });
});
// Root file loaded by RequireJS

require.config({
    paths: {
        'jquery': 'vendor/jquery',
        'handlebars': 'vendor/handlebars'
    },
});

require([
    'jquery',
    'map_controller'
  ],
function($, MapController) {
  $(function() {
    $('.js-map').each(function(_index, canvas) {
      var controller = new MapController(canvas);
    });
  });
});
Fix bugs introduced by Code Climate changes