Skip to content

Small and simple library to make HTML strings in javascript

Notifications You must be signed in to change notification settings

jrootham/makeHTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e3b2914 · Sep 5, 2012

History

6 Commits
Sep 5, 2012
Sep 5, 2012
Sep 5, 2012
Jun 2, 2012
Sep 5, 2012

Repository files navigation

makeHTML

Small and simple library to make HTML strings in javascript

========

File list

testmh.html driver for jasmine testing

spec/Spec.js tests for jasmine testing

src/mh.js code

=========

Functions

single(tag,options)

return a self terminated html tag

tag - the tag name

options - an array of javascript objects with name and value elements

paired(tag,contents,options)

return an html tag

tag - the tag name

contents - contents of the tag

options - an array of javascript objects with name and value elements

See spec/Spec.js for examples

About

Small and simple library to make HTML strings in javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published