aburkholder's public fiddles
-
jqMobi mask plugin
Work in progress, attempting to convert jQuery mask plugin to jqMobi See http://digitalbush.com/projects/masked-input-plugin/
-
v2: Executing functions buried in object (namespace) hierarchies
This version just returns the function reference instead of executing it.
-
Executing functions buried in object (namespace) hierarchies
A few pointers: - the root object of the hierarchy must exist in a referenceable context, thus the need for stupid() in this example - this.api makes api a referenceable object inside stupid(). Doing var api does not. - context must be manually maintained with every function call, thus the constant use of .call() and .apply()
-
ko.mapping toJS simple objects
You cannot get KO to dynamically show you the selected option text, only the option value (the key). So you are forced to do a lookup on the options array to retrieve the value corresponding to the selected key.
-
ko.mapping simple objects
Why doesn't testSelect set to item 3?
-
KO country select
Base impl
-
Knockout: Annoying Behaviors
Starting a collection of annoying behaviors in Knockout that I have not yet been able to resolve.