diff --git a/ATTRIBUTION.md b/ATTRIBUTION.md new file mode 100644 index 00000000..3e4ef078 --- /dev/null +++ b/ATTRIBUTION.md @@ -0,0 +1,12 @@ +This project is licensed under the permissive ISC license. Parts imported from other projects remain under their respective licenses: + +- [autolink-js by Bryan Woods; MIT](https://github.com/bryanwoods/autolink-js) +- [load.js by Chris O'Hara; MIT](https://github.com/chriso/load.js) +- [leaflet.js; custom license (but appears free)](http://leafletjs.com/) +- [leaflet.draw.js; by jacobtoye; MIT](https://github.com/Leaflet/Leaflet.draw) +- [`leaflet_google.js` by Pavel Shramov; same as Leaftlet](https://github.com/shramov/leaflet-plugins) (modified, though) +- [jquery.qrcode.js by Jerome Etienne; MIT](https://github.com/jeromeetienne/jquery-qrcode) +- [oms.min.js by George MacKerron; MIT](https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet) +- [taphold.js by Rich Adams; unknown](https://github.com/richadams/jquery-taphold) +- StackOverflow-CopyPasta is attributed in the source; [CC-Wiki](https://creativecommons.org/licenses/by-sa/3.0/) +- all Ingress/Niantic related stuff obviously remains non-free and is still copyrighted by Niantic/Google diff --git a/HACKING.md b/HACKING.md index a1aa0fab..028fb612 100644 --- a/HACKING.md +++ b/HACKING.md @@ -27,11 +27,13 @@ Please follow the these guidelines. Some are just preference, others are good pr - use identity operators: `===` and `!==`. [Why do I want this?](http://stackoverflow.com/a/359509/1684530) - jQuery is your friend - indent using two spaces -- opening brace on the same line with a space after the if/for/etc: `if(blub) {` +- opening brace on the same line: `if(blub) {` - else clauses: `} else if(blub) {` or `} else {` +- there should be no space after `if`, `for`, etc. E.g. `if(true) { doStuff(); } else { dontDoStuff(); }` - comments: `// this is a comment` - quotes: Use single-quotes for JavaScript and double-quotes for HTML content. Example: `$('body').append('