Permalink
Browse files

Eliminate src directory

Duplicating files causes confusion about which ones to edit.
  • Loading branch information...
jfirebaugh committed Dec 28, 2015
1 parent 5c26232 commit 26ef3195d955d9c397079eef428115f00b465c90
View
@@ -2,24 +2,11 @@
UGLIFY = node_modules/.bin/uglifyjs
all: \
$(shell npm install && mkdir -p dist) \
dist/leaflet.fullscreen.css \
dist/Leaflet.fullscreen.js \
$(shell npm install) \
dist/Leaflet.fullscreen.min.js \
dist/fullscreen.png
clean:
rm -f dist/*
dist/fullscreen.png: src/fullscreen.png
cp src/fullscreen.png dist/fullscreen.png
cp src/fullscreen@2x.png dist/fullscreen@2x.png
dist/leaflet.fullscreen.css: src/leaflet.fullscreen.css
cp src/leaflet.fullscreen.css dist/leaflet.fullscreen.css
dist/Leaflet.fullscreen.js: src/Leaflet.fullscreen.js
cp src/Leaflet.fullscreen.js dist/Leaflet.fullscreen.js
rm -f dist/Leaflet.fullscreen.min.js
dist/Leaflet.fullscreen.min.js: dist/Leaflet.fullscreen.js
$(UGLIFY) dist/Leaflet.fullscreen.js > dist/Leaflet.fullscreen.min.js
View
BIN +157 Bytes (210%) dist/fullscreen.png
Binary file not shown.
View
BIN +265 Bytes (270%) dist/fullscreen@2x.png
Binary file not shown.
@@ -2,9 +2,15 @@
background:#fff url(fullscreen.png) no-repeat 0 0;
background-size:26px 52px;
}
.leaflet-touch .leaflet-control-fullscreen a {
background-position: 2px 2px;
}
.leaflet-fullscreen-on .leaflet-control-fullscreen a {
background-position:0 -26px;
}
.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
background-position: 2px -24px;
}
/* Do not combine these two rules; IE will break. */
.leaflet-container:-webkit-full-screen {
File renamed without changes.
View

This file was deleted.

Oops, something went wrong.
View
BIN -299 Bytes src/fullscreen.png
Binary file not shown.
View
BIN -420 Bytes src/fullscreen@2x.png
Binary file not shown.
View

This file was deleted.

Oops, something went wrong.

0 comments on commit 26ef319

Please sign in to comment.