Erik Arvidsson
283dae5f32
Update demos
2015-09-29 13:12:26 -04:00
Erik Arvidsson
531b355d08
decode.js: Remove Ref wrapping
...
It is not clear to me why we added the Ref wrapping? The Ref wrapping
causes the explorer.js IU to show the wrong ref for collections.
2015-09-29 11:50:17 -04:00
Erik Arvidsson
1b1fb065cc
Now with pkgRef support
2015-09-25 10:48:00 -04:00
Erik Arvidsson
f6962712d9
Add basic support for TypeRef in decode.js
...
For now it decodes into an Immutable.Map
2015-09-24 18:42:35 -04:00
Erik Arvidsson
dedcf0fc00
Document how to run the js unit tests
2015-09-24 11:00:00 -04:00
Rafael Weinstein
aca5bcec33
Fix JS Tests
2015-09-23 13:06:28 -07:00
Chris Masone
63c956a5c5
Add types.TypeRef
...
We want to explore encoding type information about Noms data in
the Noms database. So, we need some way to describe types. This
takes the shortest path to making a Noms type called "TypeRef" that
is a peer of Set, Map et al and can describe all the types we currently
use.
2015-09-22 16:19:38 -07:00
Aaron Boodman
4dc3c060c0
noms_store: make server url customizable
2015-09-14 11:00:38 -07:00
Rafael Weinstein
10350dbd7e
switch js to use buffer reads
2015-09-11 14:41:51 -07:00
Erik Arvidsson
4639ca383a
JS unit tests
...
This uses Karma with mocha+chai and browserify+babel. The tests
currently need to be run in a browser because we currently depend on
non node.js features (Blob and FileReader)
To run the tests go to <noms>/js/ and do `npm run start-test`.
Issue #256
2015-09-03 19:50:51 -04:00
Aaron Boodman
1c2f82dfc3
js: Fix stupid bug in implementation of Ref.hashCode()
...
Fixes #254
2015-09-02 22:44:28 -07:00
Erik Arvidsson
4ddd348e5f
noms.js: Fix decoding of compound lists
2015-09-01 19:06:07 -04:00
Erik Arvidsson
32dcba2084
Add js support for compound lists
2015-08-28 15:42:07 -04:00
Aaron Boodman
2850851929
tagshow: Put back dataset picker
2015-08-27 15:11:10 -07:00
Aaron Boodman
33a5860216
Response to comments on PR #223
2015-08-26 12:46:12 -07:00
Aaron Boodman
1703f98c80
tagshow: Use AND rather than OR to decide which photos to show
2015-08-25 21:55:14 -07:00
Erik Arvidsson
4bb0ec9cda
JS: Fix decode of compound blobs
...
This regressed in 1d152410db
Issue #170
2015-08-25 16:58:15 -04:00
Erik Arvidsson
e9efeb6115
Fix pitchmap ui demo
...
This broke when we changed from heads to a single head
2015-08-25 14:42:30 -04:00
Rafael Weinstein
abc7102ad6
Clean following HttpStore implementation
2015-08-24 10:57:50 -07:00
Rafael Weinstein
f6490cbbe5
Add HttpStore implementation
2015-08-21 14:22:45 -07:00
Aaron Boodman
f4570a116c
js: Decode blobs to DOM blob objects.
2015-08-17 23:01:23 -07:00
Aaron Boodman
da3c12d479
js: Add support for compound blobs
2015-08-17 16:02:37 -07:00
Chris Masone
1bd5af910a
Add support for int8/uint8
...
It turns out that having these makes marshaling native go to and from noms
cleaner.
Towards issue #160
2015-08-17 13:44:50 -07:00
Erik Arvidsson
1db5d485a9
Use whatwg-fetch in explore
2015-07-24 14:18:41 -07:00
Rafael Weinstein
6db73c518e
Rate-limit concurrent noms XHR requests
2015-07-22 15:54:33 -07:00
Rafael Weinstein
2a5062db81
Implement lazy loading in js sdk
2015-07-22 13:47:32 -07:00
Aaron Boodman
0e199158a6
Various cleanups to heatmap UI and docs.
2015-07-21 11:23:49 -07:00
Rafael Weinstein
e20ed5c289
Babelify within noms js module
2015-07-20 17:59:42 -07:00
Rafael Weinstein
0087a45df9
Reorg js code into common module
2015-07-20 17:14:30 -07:00