Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the jQuery template documentation?

I cannot find the jQuery template documentation or the plugin from the jQuery site. Can anyone tell where to locate them? I tried searching, but I couldn't find the documentation. It seems the jQuery Plugin site is broken.

like image 437
CodeWeed Avatar asked Apr 15 '13 12:04

CodeWeed


2 Answers

jquery template is not maintained now. So the plugin has been removed from jquery plugin repository. Hence documentation is also gone. I could only find the below links for documentation. They are not perfect, but still very helpful.

  1. https://github.com/jquery-orphans/jquery-tmpl

  2. https://github.com/KanbanSolutions/jquery-tmpl

KanbanSolutions has forked the project and fixed some bugs. But they have changed some syntax. But you can refer to this documentation because functionality of Kanban custom jquery template and original jquery template is same.

For example Documentation for each for Kanban custom jquery template

{%each( index, value ) collection %}

Used to iterate over a data array, and render the content between the opening and closing template tags once for each data item.

Hence, Documentation for each for original jquery template

{{each( index, value ) collection }}

Used to iterate over a data array, and render the content between the opening and closing template tags once for each data item.

like image 182
Sanjeev Kumar Dangi Avatar answered Oct 13 '22 22:10

Sanjeev Kumar Dangi


You can find it here http://web.archive.org/web/20120920065217/http://api.jquery.com/category/plugins/templates/ (followed from GitHub wiki - https://github.com/BorisMoore/jquery-tmpl/wiki)

like image 5
Alexey Kucherenko Avatar answered Oct 13 '22 21:10

Alexey Kucherenko