Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Core and heatmap (#1)
Browse files Browse the repository at this point in the history
Basic bindings and heatmap
  • Loading branch information
cryogenian authored May 2, 2017
1 parent b3bf805 commit ebf0d2a
Show file tree
Hide file tree
Showing 31 changed files with 12,530 additions and 37 deletions.
44 changes: 7 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,7 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules
jspm_packages

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history
/bower_components/
/node_modules/
/.pulp-cache/
/output/
/example/index.js
/.psc*
/.psa*
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
dist: trusty
sudo: required
node_js: 6
install:
- npm install -g bower
- npm install && bower install
script:
- npm run build:browser
after_success:
- >-
test $TRAVIS_TAG &&
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Basic bindings to leaflet.js only parts of API is supported.

This repo also has port of [simpleheat](https://github.com/mourner/simpleheat) and
[Leaflet.heat](https://github.com/Leaflet/Leaflet.heat)
30 changes: 30 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "purescript-leaflet",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-prelude": "^3.0.0",
"purescript-eff": "^3.1.0",
"purescript-dom": "^4.2.0",
"purescript-dom-classy": "^2.1.0",
"purescript-transformers": "^3.2.0",
"purescript-control": "^3.0.0",
"purescript-uri": "^3.0.0",
"purescript-colors": "^3.0.0",
"purescript-symbols": "^3.0.0",
"purescript-canvas": "^3.0.0",
"purescript-math": "^2.0.0",
"purescript-st": "^3.0.0",
"purescript-partial": "^1.2.0",
"purescript-refs": "^3.0.0"
},
"devDependencies": {
"purescript-debug": "^3.0.0",
"purescript-random": "^3.0.0",
"purescript-gen": "^1.1.0"
}
}
1 change: 1 addition & 0 deletions entry.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("./output/Main/index.js").main();
17 changes: 17 additions & 0 deletions example/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>
purescript-leaflet
</title>
<link rel="stylesheet" href="leaflet.css">
<script type="text/javascript" src="index.js"></script>
</head>
<style>
#map, #heatmap-leaflet { width: 600px; height: 600px }
</style>
<body>
<div id="map"></div>
<div id="heatmap-leaflet"></div>
</body>
</html>
Loading

0 comments on commit ebf0d2a

Please sign in to comment.