Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Nightingale committed Oct 11, 2012
0 parents commit 53645b9
Show file tree
Hide file tree
Showing 24 changed files with 9,629 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
node_modules
35 changes: 35 additions & 0 deletions dist/select.css
@@ -0,0 +1,35 @@
.leaflet-select-control {
-moz-border-radius: 7px;
-webkit-border-radius: 7px;
border-radius: 7px;
}
.leaflet-select-control {
padding: 5px;
background: rgba(0, 0, 0, 0.25);
}
.leaflet-select-control a {
background-color: rgba(255, 255, 255, 0.75);
}
.leaflet-select-control a {
background-position: 50% 50%;
background-repeat: no-repeat;
display: block;
}
.leaflet-select-control a {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
width: 19px;
height: 19px;
margin-top: 5px;
}
.leaflet-select-control a:first-child{
margin-top: 0;
}
.leaflet-select-control a:hover {
background-color: #fff;
}
.leaflet-touch .leaflet-select-control a {
width: 27px;
height: 27px;
}
Empty file added example/Leaflet.widget.html
Empty file.
66 changes: 66 additions & 0 deletions grunt.js
@@ -0,0 +1,66 @@
/*global module:false*/
module.exports = function(grunt) {

// Project configuration.
grunt.initConfig({
pkg: '<json:package.json>',
meta: {
banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
},
lint: {
files: ['grunt.js', 'src/**/*.js', 'test/**/*.js']
},
qunit: {
files: ['test/**/*.html']
},
concat: {
dist: {
src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>.js>'],
dest: 'dist/<%= pkg.name %>.js'
}
},
min: {
dist: {
src: ['<banner:meta.banner>', '<config:concat.dist.dest>'],
dest: 'dist/<%= pkg.name %>.min.js'
}
},
cssmin: {
dist: {
src: ['<banner:meta.banner', '<file_strip_banner:dist/<%= pkg.name %>.css>'],
dest: 'dist/<%= pkg.name %>.min.css'
}
},
watch: {
files: '<config:lint.files>',
tasks: 'lint qunit'
},
jshint: {
options: {
curly: true,
eqeqeq: true,
immed: true,
latedef: true,
newcap: true,
noarg: true,
sub: true,
undef: true,
boss: true,
eqnull: true,
browser: true
},
globals: {
L: true
}
},
uglify: {}
});

// Default task.
grunt.registerTask('default', 'lint qunit concat min');

};
Binary file added lib/Leaflet.draw/images/draw-circle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/Leaflet.draw/images/draw-marker-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/Leaflet.draw/images/draw-polygon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/Leaflet.draw/images/draw-polyline.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/Leaflet.draw/images/draw-rectangle.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 53645b9

Please sign in to comment.