Skip to content
This repository was archived by the owner on Aug 31, 2018. It is now read-only.

Commit aab8b7b

Browse files
author
Matt R. Wilson
committed
Added a 'why' to the read me
1 parent 1004aae commit aab8b7b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
nbproject/
2+
.idea/
23

34
#################
45
## Eclipse

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
tmpljs
22
=======
33

4-
A DOM element based templating engine with a logic-less Zen Coding-like markup, object caching, partials and variables
4+
A DOM element based templating engine, as a jQuery plugin, with a logic-less Zen Coding-like markup, object caching, partials and variables.
5+
6+
I wrote this because it seemed silly to create a string of markup, make the DOM parse it, then query it to do any manipulation; when it's faster to create elements in js, save a reference if desired, then pass objects to the DOM.
57

68
* The plugin requires only one parameter, an array of strings, where each string is to become a single DOM element.
79
* Optionally a second object parameter can be supplied for partials and variables.

0 commit comments

Comments
 (0)