This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 233001 - Knockout does not resolve anonymously passed object literal
Summary: Knockout does not resolve anonymously passed object literal
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-18 14:14 UTC by Vladimir Riha
Modified: 2016-07-19 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-07-18 14:14:31 UTC
Please try:

file.js:
ko.applyBindings({
    city: "London",
    coords: {
        test1: "A",
        test2: "B"
    }
});

index.html
<span data-bind="text: coords."></span>


and invoke cc in coords.
=> test1 and test2 should be offered but they are not.



Product Version: NetBeans IDE Dev (Build web-main-11106-on-20130718)
Java: 1.7.0_40-ea; Java HotSpot(TM) Client VM 24.0-b52
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b33
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Hejl 2013-08-22 09:56:04 UTC
I have fixed the knockout part in web-main ddfa463b9ad5. CC is still not visible on "coords."
Passing to PetrP.
Comment 2 Petr Hejl 2016-07-19 14:38:15 UTC
Seems to be fully working in dev build.