I am using the Revealing Module Pattern to get some structure in my knockout.js code.
It is a very simple Example
Goal: return the value of the Name-Property of the Object.
Problem: The function parameter x is undefined.
http://jsfiddle.net/ThomasDeutsch/8hzhp/
What exactly is the problem here?
Help me fiddle this one out please.
I have the solution.
The Problem was that i have not defined a function. ko.computed will not do the job. So this is the solution:
Knockout.js: Function parameter undefined