Skip to content

Commit

Permalink
Tweaking examples, karma specs, reordering builds since jake also bui…
Browse files Browse the repository at this point in the history
…lds L1.0
  • Loading branch information
Jon West committed Nov 6, 2016
1 parent fff5cf8 commit 58ba836
Show file tree
Hide file tree
Showing 22 changed files with 678 additions and 371 deletions.
2 changes: 1 addition & 1 deletion BREAKINGCHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The vector or marker is accessed by the `layer` property of the event arguments,
#### New way

```js
map.on('draw:created', function (e) {
map.on(L.Draw.Event.CREATED, function (e) {
var type = e.layerType,
layer = e.layer;

Expand Down
2 changes: 1 addition & 1 deletion Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ task('docs', {}, function () {
buildDocs();
});

task('default', ['test', 'build']);
task('default', ['build', 'test']);

jake.addListener('complete', function () {
process.exit();
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ var options = {
var drawControl = new L.Control.Draw(options);
map.addControl(drawControl);

map.on('draw:created', function (e) {
map.on(L.Draw.Event.CREATED, function (e) {
var type = e.layerType,
layer = e.layer;

Expand Down
3 changes: 2 additions & 1 deletion build/deps.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
var deps = {
Core: {
src: [
'Leaflet.draw.js'
'Leaflet.draw.js',
'Leaflet.Draw.js'
],
desc: 'The core of the plugin. Currently only includes the version.'
},
Expand Down
Loading

0 comments on commit 58ba836

Please sign in to comment.