large chunk of work towards a nicer build system

- plugins are now parsed for @@..@@ replacements
- main script and plugins have separate .meta.js files created - less web server load for update checks
- build script has variables for resource URL, update URL, etc, substituted via @@..@@ into main script and all plugins
This commit is contained in:
Jon Atkins
2013-03-19 22:39:16 +00:00
parent 6984510ac9
commit 4ce0da5056
18 changed files with 149 additions and 74 deletions

View File

@ -321,7 +321,7 @@ function boot() {
window.runOnSmartphonesBeforeBoot();
// overwrite default Leaflet Marker icon to be a neutral color
var base = 'http://iitc.jonatkins.com/dist/images';
var base = '@@RESOURCEURLBASE@@/images';
L.Icon.Default.imagePath = base;
window.iconEnl = L.Icon.Default.extend({options: { iconUrl: base + '/marker-green.png' } });