mirror of
https://github.com/arnaucube/commonroutesApp.git
synced 2026-02-08 12:06:50 +01:00
geolocation added on offerCar and travel page
This commit is contained in:
13
www/lib/ui-leaflet/grunt/pkg.js
Normal file
13
www/lib/ui-leaflet/grunt/pkg.js
Normal file
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function (grunt, options) {
|
||||
var pkgFunction = function () {
|
||||
return grunt.file.readJSON('package.json')
|
||||
};
|
||||
//THIS extension forces the banner or whatever uses pkgFunction to always get the latest version
|
||||
//where as pkg is only done once at grunt init.
|
||||
_.extend(options, {
|
||||
pkgFunction: pkgFunction
|
||||
});
|
||||
return pkgFunction();
|
||||
};
|
||||
Reference in New Issue
Block a user