veyron-browser: Fix Namespace Suggestions

The suggestions are currently not updating on the first getChildren call.
However, they are correctly updating on cached calls.

The issue is in get-namespace-suggestions and the namespace service's glob.
glob updates its observable array over time; the result is always starts empty.

I have two possible solutions
- Use mercury.watch to watch for changes and update the state in a callback.
- Directly store the mercury struct into the state.

I don't mind using either solution. Currently, I'm using the second.

Note: This issue may be related to immutability in mercury.
freeze() may not be working as intended.

Change-Id: I3766643e16f674c514b087480f0e2e5e6c29cbde
2 files changed
tree: ef6b40438a64e285dd9188423359a7da62e5f74e
  1. go/
  2. public/
  3. scripts/
  4. src/
  5. test/
  6. .gitignore
  7. .jshintrc
  8. bower.json
  9. css-transform.js
  10. Makefile
  11. package.json
  12. README.md
  13. web-component-dependencies.html
README.md

Mounttable Browser

Mountable browser is a browser application that lets the user view and traverse mounttables.

Building

Before you can run Mounttable Browser, you need to build. Simply run:

make

The Extension

You must have the Veyron Extension installed to run this.

Get it here: https://github.com/veyron/veyron.js/raw/master/extension/veyron.crx

Running

make start

and navigate to http://localhost:9000

to stop simply CTRL-C the console running the make start