Skip to content
/ tpl Public

A convenience jQuery (non-plugin) for rendering html in javascript (without template files)

Notifications You must be signed in to change notification settings

rayie/tpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

A tiny jquery plugin for rendering nested html inside javascript.

var t = new tpl();

t.w("#topLevelElement");
	t.w("subLevel");
		t.sib("someClass","the text inside div.someClass");
		t.sib("someOtherClass", someVar);
	t.ww(); //completes div.subLevel	
t.ww("#container") // 

About

A convenience jQuery (non-plugin) for rendering html in javascript (without template files)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published