Knockout-AMD-Helpers is a lightweight plugin that makes working with AMD modules in Knockout.js easier by adding a "module" binding and pulling external templates using the text plugin.
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <metadata> <id>Knockout-AMD-Helpers</id> <version>0.7.3</version> <title>Knockout-AMD-Helpers</title> <authors>Ryan Niemeyer</authors> <owners>Ryan Niemeyer</owners> <licenseUrl>http://www.opensource.org/licenses/mit-license.php</licenseUrl> <projectUrl>https://github.com/rniemeyer/knockout-amd-helpers</projectUrl> <requireLicenseAcceptance>false</requireLicenseAcceptance> <description>Knockout-AMD-Helpers is a lightweight plugin that makes working with AMD modules in Knockout.js easier by adding a "module" binding and pulling external templates using the text plugin.</description> <summary>Knockout-AMD-Helpers is a lightweight plugin that makes working with AMD modules in Knockout.js easier by adding a "module" binding and pulling external templates using the text plugin.</summary> <releaseNotes>0.7.3 - Fix an issue with afterRender function not firing when changing from an empty template name to a valid template name 0.7.2 - allow the option of passing a string for afterRender, which corresponds to a method on the resolved module 0.7.1 - look for window.requirejs before window.require to avoid conflicts (like in a node-webkit project) 0.7.0 - support "templateProperty" option on a module that allows specifying a template directly in a module (self-contained module) - ensure that valueAccessor() is called later so that dependencies accessed in the binding string are captured in KO 3+ example - name: "mymodule-" + mode() 0.6.2 - allow afterRender to be defined later when bound against an observable that is initially null/undefined 0.6.1 - prevent afterRender from being called twice on initial template load. upgrade to Jasmine 2.0 for tests. 0.6.0 - added the ability to customize the text plugin name 0.5.2 - also avoid dependencies when disposal check is triggered by domNodeDisposal 0.5.1 - avoid dependencies in disposal 0.5.0 - $module context variable added to bind against root of current module. "dispose" method (name is configurable) can be called when module is swapped/removed. 0.4.0 - better detection of anoymous templates vs. using module template 0.3.0 - allow afterRender to be different per observable module 0.2.5 - fix an IE < 9 issue with applying undefined args to constructor 0.2.4 - support KO 2.0 by checking to see if ko.virtualElements is available 0.2.3 - ensure that old data doesn't bind against a new template while module is loading 0.2.2 - protect against a module passed as null 0.2.1 - ensure that template is cleared if module is cleared 0.2.0 - allow module binding to use containerless syntax. add trailing slash, as necessary to paths. 0.1.0 - initial release</releaseNotes> <tags>knockout knockoutjs knockout.js AMD require.js requirejs curl.js curljs</tags> <dependencies> <dependency id="knockoutjs" version="2.0.0" /> </dependencies> </metadata> </package>