Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.
/ twig-js Public archive

Javascript implementation of TwigJS, with dynamic DOM structure.

Notifications You must be signed in to change notification settings

rangoo94/twig-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwigJS

Travis Code Climate Coverage Status

This library allow to parse Twig templates in JS.

Goal

When it will be finished, you'll get JS templates, which will allow to generate DOM structure, which will be dynamically changed when variable will be changed. The main difference to other TwigJS libraries is that it will not need to render again whole structure, instead of that it will only change needed parts.

Development

To prepare development environment you need only to fire npm install and run npm install -g grunt grunt-cli to have Grunt installed globally. Using one of JetBrains editors, you can also use Wallaby.js for continuous testing and coverage in editor.

Workflow

  • Create fork of this repository
  • Make your changes
  • Write unit tests for this code
  • Check if code style is correct by grunt lint command
  • Check if tests are working properly by grunt test command
  • Create pull request to master branch

About

Javascript implementation of TwigJS, with dynamic DOM structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published