jamesfoster/knockout.observableDictionary — Issue #1: Uncaught Error: Unable to parse bindings
Author: falconair
Created: 2012-01-24 04:43:04+00:00
State: open

I used the latest file in HEAD.

Setup the bindings as follows (please ignore the irrelevant bits):

I bind them as such:

Symbol	Total Commission

When I used the 0.1 version, I saw nothing. I mean no errors, no binding updates (as if I hadn't written any observableDictionary code). With the latest version, I see the following exception. Please note that I am updating data whenever websocket send me an update.

I am testing this on the latest version of chrome, on a windows 64 bit machine. I'm using knockout version 2.0.0.
_________________________________________________________
knockout-2.0.0.js:6Uncaught Error: Unable to parse bindings.
Message: SyntaxError: Unexpected token };
Bindings value: key
cknockout-2.0.0.js:6
r.a.extend.parseBindingsStringknockout-2.0.0.js:54
r.a.extend.getBindingsknockout-2.0.0.js:53
r.i.disposeWhenNodeIsRemovedknockout-2.0.0.js:55
hknockout-2.0.0.js:38
r.iknockout-2.0.0.js:39
dknockout-2.0.0.js:56
bknockout-2.0.0.js:55
aknockout-2.0.0.js:55
bknockout-2.0.0.js:55
r.waknockout-2.0.0.js:58
r.uaknockout-2.0.0.js:83
aknockout-2.0.0.js:82
r.uaknockout-2.0.0.js:83
jknockout-2.0.0.js:84
r.a.Kaknockout-2.0.0.js:92
r.Ab.r.i.disposeWhenNodeIsRemovedknockout-2.0.0.js:85
hknockout-2.0.0.js:38
r.iknockout-2.0.0.js:39
r.Abknockout-2.0.0.js:84
r.c.template.updateknockout-2.0.0.js:86
r.c.foreach.updateknockout-2.0.0.js:75
r.i.disposeWhenNodeIsRemovedknockout-2.0.0.js:56
hknockout-2.0.0.js:38
fknockout-2.0.0.js:38
r.R.fn.notifySubscribersknockout-2.0.0.js:30
r.a.nknockout-2.0.0.js:8
r.R.fn.notifySubscribersknockout-2.0.0.js:30
r.w.b.Gknockout-2.0.0.js:32
r.a.n.r.Q.fn.(anonymous function)knockout-2.0.0.js:36
ko.observableDictionary.fn.pushko.observableDictionary.js:81
ko.observableDictionary.fn.setko.observableDictionary.js:132
viewModel.addFill:8080/:82
ws.onmessage