UNPKG

leaflet.pattern

Version:

Provides the ability to use SVG patterns as backgrounds for Leaflet Paths.

26 lines (17 loc) 695 B
/* Leaflet.pattern building, testing and linting scripts. To use, install Node, then run the following commands in the project root: npm install -g jake npm install To check the code for errors and build Leaflet from source, run "jake". To run the tests, run "jake test". For a custom build, open build/build.html in the browser and follow the instructions. */ var build = require('./build/build.js'); desc('Check Leaflet.pattern source for errors with JSHint'); task('lint', build.lint); desc('Combine and compress Leaflet.pattern source files'); task('build', ['lint'], build.build); desc('Run PhantomJS tests'); task('test', ['lint'], build.test); task('default', ['build']);