mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-05 02:59:44 -06:00
Merge pull request #96 from aboodman/docs
Various cleanups to heatmap UI and docs.
This commit is contained in:
@@ -6,10 +6,10 @@ This is the beginnings of a simple tree view of all noms data.
|
||||
|
||||
* [`<noms>/clients/server`](../server)
|
||||
* Node.js: https://nodejs.org/download/
|
||||
* You probably want to configure npm to [use a global module path that your user owns](https://docs.npmjs.com/getting-started/fixing-npm-permissions)
|
||||
|
||||
## Build
|
||||
|
||||
* `cd <noms>/clients/explore`
|
||||
* `./link.sh`
|
||||
* `npm install`
|
||||
* `npm run build`
|
||||
|
||||
@@ -6,10 +6,10 @@ This is an (incomplete) sample app that visualizes pitching data as a heatmap.
|
||||
|
||||
* [`<noms>/clients/server`](../server)
|
||||
* Node.js: https://nodejs.org/download/
|
||||
* You probably want to configure npm to [use a global module path that your user owns](https://docs.npmjs.com/getting-started/fixing-npm-permissions)
|
||||
|
||||
## Build
|
||||
|
||||
* `cd <noms>/clients/explore`
|
||||
* `./link.sh`
|
||||
* `npm install`
|
||||
* `npm run build`
|
||||
|
||||
@@ -5,7 +5,7 @@ var React = require('react');
|
||||
var Map = require('./map.js');
|
||||
|
||||
noms.getDataset('mlb/heatmap').then(function(s) {
|
||||
return decode.readValue(s, noms.getChunk);
|
||||
return noms.readValue(s, noms.getChunk);
|
||||
}).then(getPitchers).then(renderPitchersList).catch(function(err) {
|
||||
console.error(err);
|
||||
});
|
||||
|
||||
@@ -37,7 +37,7 @@ function getRoot() {
|
||||
}
|
||||
|
||||
function getDataset(id) {
|
||||
return fetch(rpc.get + '?id=' + id)
|
||||
return fetch(rpc.dataset + '?id=' + id)
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user