dna.js Semantic Templates 1.6.0

dna.js is a UI library for jQuery enabling developers to rapidly build maintainable JavaScript applications. You write semantic templates and then dna.js converts your JSON data into dynamically generated DOM elements.

Tags clone template javascript jquery html dom developers
License GNU GPLv3
State stable

Recent Releases

1.6.002 Jan 2020 02:45 minor feature: Safe check for array field to undefined . New subs rules to explicitly track arrays. . Next release. . Release v1.6.0.
1.5.928 Dec 2019 13:05 minor feature: Callback option added to fade functions . Next release. . Function dna.recount() to renumber clones. . wrong container reference. . Support for multiple class rules on an element. . Add dna.updateField() for input elements. . Release v1.5.9.
1.5.821 Dec 2019 02:45 minor feature: Next release . Cleaner code to update dnaCountMap. . undefined object in dna.empty() when sub-clones present. . Release v1.5.8.
1.5.616 Dec 2019 06:45 minor feature: Move cleanup os files to gulp task . Shorthand fn declaration for smart update example. . . . Use htaccess FallbackRessource to simplify rest folders. . Update dependencies. . Note about jamstack. . Remove extraneous space in indentation. . some more indentation. . Update dependencies. . . . Cleaner addParam() function. . Functional style over mutating parameters. . Reduce cyclomatic complexity in dna.panels.display(). . Update dependencies. . New functions and variables for better readability. . Refactor long lines of code to be shorter. . More flexible toElem() function. . Update travis ci to node 12. . Next release. . Update model when subclones are moved. . Support prepend (option "top") for cloneSub(). . Release v1.5.6.
1.5.525 Apr 2019 10:25 minor feature: Consistent panel nav names to support page tokens . Update dna.info() test for new panels item. . Let npm know about css file. . Replace deprecated event shortcuts. . Cleaner workaround to minification anomaly. . replace jquery each with es6 forEach. . . . Replaced jquery's extend with javascript's native function to merge . . . . Function dna.ui.getAttrs() to turn attributes into a regular array. . Update dependencies. . Test cases for plugin calls 'refresh' and 'destroy'. . More accurate names for spec files. . Replace historical future reserved word "char" with safer name. . AdiĆ³s g+. . Swap out cc image for smoother svg font. . for stricter regex validation. . Metadata for twitter large card format. . Back to less noisy title. . replaced arguments and function with spread and fat arrow. . . . Enforce strict equals and update cdn links. . Better arrow icons and code samples in docs. . Update cdn links. . Replaced old Jquery trim with es6 trim. . updated focus. . . . Create a comment for merge conflict. . . . Merge branch 'master' into master. . . . Next release. . Release v1.5.5.
1.5.407 Jan 2019 23:05 minor feature: Happy new year . Next release. . Cleaner semantics for ui panels. . Release v1.5.4.
1.5.330 Dec 2018 07:45 minor feature: Added badges plus version number . Next release. . Updated js fiddles, font, wording. . More es6 fat arrow functions. . Point require('dna.js') to version in dist folder. . Test case added to check version number format. . Make sidebar full width on mobile screens. . nested folder in jshint command. . repeat calback for templates inside of panels. . Semantic tagging for authors. . Release v1.5.3.
1.5.211 Dec 2018 14:25 minor feature: Next release . Run all tests on both dna.js and dna.min.js. . More semantic env variable value. . Link download to cdn instead of github. . Named functions for merging tasks. . Dependencies updated. . Support const and let functions for data-callback. . Files for gh pages. . Variables for banner text. . Upgrade documentation and examples to es6 arrow functions. . More space for code examples. . Release v1.5.2.
1.5.107 Dec 2018 16:25 minor feature: Next version . variable error that only occures in minified version. . Release v1.5.1.
1.4.903 Dec 2018 20:25 minor feature: Vulnerabilities badge . Next release. . Less ugly creative commons logo. . Replace escape with quotes. . Get hljs-enhance from cdn. . Link to github added to website footer. . Better documentation wording. . Update cdn links. . Switch to es6 notation in test web page. . New dist folder in prep for upgrade to es6. . Release v1.4.9. . Update cdn links to new dist folder.
1.4.831 Oct 2018 13:45 minor feature: New fetch-json package . Switch to gulp-w3c-html-validator to vulnerabilities. . Pull reset.css and library.js from cdn. . Next release. . Sections for custom colors for panel navigation. . Prevent inheriting wrong style for panel navigation. . Documentation link to panel nav on github. . Release v1.4.8.
1.4.703 Oct 2018 15:25 minor feature: for git tag and use v0.0.0 format . Set version for next release. . case for no tags. . Update gulp-htmhint to audit vulnerabilities. . Use same cdn for icon font and js libraries. . Updated links for new fetch-json. . Use https for youtube links. . Deprecated code removed. . More deprecated code removal. . Smoother slide fade out. . Coordinate slide out and in to animation motion when swapping elems. . Support "yes" and "no" in real truth. . Release v1.4.7.
1.4.604 Sep 2018 03:16 minor feature: Consistent indentation spaces in spec files . Less confusing name for html validator. . Strict mode for asserts in mocha specs. . Remove undeveloped rest feature. . Version number updated for next release. . cors restriction with books rest api. . Swap in fetchJson. . Update to const declarations. . Delete unneeded. . Use git tag version for website download links. . Smarter release instructions. . Release v1.4.6.
1.3.723 Mar 2018 09:45 minor feature: Version number updated for next release . PeerDependencies beter suited for plugins. . For data-on-load running twice when inside a template. . Disqus hijacks links and redirects them to an ad network. . Release v1.3.7.
1.3.615 Mar 2018 09:25 minor feature: Release v1.3.6 . Convert array util functions to support options parameter. . Prevent script hanging when there are lots of release tags.
1.3.508 Mar 2018 16:45 minor feature: Version number updated for next release . Documentation for dna.ui.pulse(). . Update dependency. . . . jshint the spec files. . . . Package quality and hits. . badge size. . Matching color. . Duplicate removed. . Option not needed as of npm 5. . Prevent undesirable dashes in map key names. . Hint to cssnano to preserve license comment. . Update dependencies. . . . Improved util functions. . merge-stream for size report. . Update new year. . jquery 3.3. . Skip node_modules check as new npm is faster. . Add test to verify dot notation. . Functions for templating with single clone. . Release v1.3.5.
0.4.217 Nov 2015 01:29 minor feature: 1) Live editing for additional form elements 2) Improved support for HTML5 attributes on input elements