Skip to content

Commit

Permalink
make AMD declaration anonymous
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Jun 24, 2013
1 parent a03d62c commit 239faad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (typeof module === 'object' && typeof module.exports === 'object') {

// define Leaflet as an AMD module
} else if (typeof define === 'function' && define.amd) {
define('leaflet', [], function () { return L; });
define(L);
}

// define Leaflet as a global L variable, saving the original L to restore later if needed
Expand Down

0 comments on commit 239faad

Please sign in to comment.