21,021

Downloads

20,134

Downloads of v 2.0.5

2012-06-09

Last published

License details

provided by Sonatype

MIT

Knockout.js External Template Engine

2.0.5

The Knockout.js External Template Engine extends Knockout.js to allow you to load templates asynchronously from a remote resource. It currently supports both native and jquery templates. Special thanks to Ryan Niemeyer for the assistance in getting jquery templates working in this version of the plugin.

To install Knockout.js External Template Engine, run the following command in the Package Manager Console

PM> Install-Package Knockout.js_External_Template_Engine

Release Notes

NOTE: The Knockout.js External Template Engine depends on "TrafficCop" and "infuser".  Both TrafficCop and infuser will pull down standard js libs (wrapped in an immediately invoked function expression) and also AMD module versions.  If you do not need the AMD/require.js version of this plugin, simply include TrafficCop, infuser and koExternalTemplateEngine.js (or the .min.js version) in your project - OR include koExternalTemplateEngine_all.js, which is combined build of TrafficCop, infuser and this plugin.  If you are using the AMD module version, you will need to include koExternalTemplateEngine-amd.js (or the .min.js version), along with the AMD builds of TrafficCop and infuser.  It will be ideal if you set up named modules in your require.config using the names "TrafficCop", "infuser" and "koext" - case sensitive (see the example/amd folder for this plugin on github).  The AMD version of this plugin requires Knockout.js 2.1 or later. 

IF ALL ELSE FAILS AND YOU'RE NOT SURE WHAT TO DO: Delete everything this nuget installs EXCEPT for the koExternalTemplateEngine_all.js file. :-)

Owners

Authors

Jim Cowart

Copyright

2011 Jim Cowart (MIT)

Tags

Dependencies

Version History

Version Downloads Last updated
Knockout.js External Template Engine 2.0.4 100 Wednesday, June 06 2012
Knockout.js External Template Engine 2.0.3 636 Saturday, February 04 2012