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.
In the JavaScript editor, "vm" abbreviation should expand to: function DemoViewModel() { } $(document).ready( function () { ko.applyBindings(new DemoViewModel()); } );
Changing to enhancement, P2. Handy for anyone starting with Knockout or JET.
Simple
Added to the web-main trunk. http://hg.netbeans.org/web-main/rev/087841e30d55
Integrated into 'main-silver', will be available in build *201603100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/087841e30d55 User: Petr Pisl <ppisl@netbeans.org> Log: #257172 - ViewModel code template for Knockout (and thus also JET)