Skip to content

Commit

Permalink
Merge pull request #234 from ilvalle/fix-path
Browse files Browse the repository at this point in the history
fix leaflet path in karma.conf.js
  • Loading branch information
jacobtoye committed Dec 4, 2013
2 parents f65fa6c + b67227d commit 7e5f2d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
module.exports = function (config) {

var libSources = require(__dirname+'/../build/build.js').getFiles();
var leafletSources = require(__dirname+'/../node_modules/Leaflet/build/build.js').getFiles();
var leafletSources = require(__dirname+'/../node_modules/leaflet/build/build.js').getFiles();

for (var i=0; i < leafletSources.length; i++) {
leafletSources[i] = __dirname+"/../node_modules/Leaflet/" + leafletSources[i];
leafletSources[i] = __dirname+"/../node_modules/leaflet/" + leafletSources[i];
}

var files = [
Expand Down Expand Up @@ -69,4 +69,4 @@ module.exports = function (config) {
// if true, it capture browsers, run tests and exit
singleRun: true
});
};
};

0 comments on commit 7e5f2d9

Please sign in to comment.