Added ko.unwrap shortcut

Detailed in release notes for 2.3.0 https://github.com/knockout/knockout/releases/tag/v2.3.0

There is a shortcut for ko.utils.unwrapObservable, now a much nicer cleaner ko.unwrap
This commit is contained in:
skideh
2013-07-26 23:58:05 -06:00
parent 24a84318bc
commit 4c85dad3e0
+1
View File
@@ -402,6 +402,7 @@ interface KnockoutStatic {
cleanNode(node: Element);
renderTemplate(template: Function, viewModel: any, options?: any, target?: any, renderMode?: any);
renderTemplate(template: string, viewModel: any, options?: any, target?: any, renderMode?: any);
unwrap(value: any): any;
//////////////////////////////////
// templateSources.js