phoxy/enjs

Common templates for phoxy framework

Maintainers

Details

github.com/phoxy/ENJS

Source

Issues

Installs: 254

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 15

Language:JavaScript

v2.3.1 2017-10-19 13:45 UTC

README

Codacy Badge Code Climate Packagist stable Packagist unstable Packagist license Packagist total

This is UNCOMPATIBLE fork from http://embeddedjs.com/ Embedded JavaScript

=== Main differences:

  • All rendering templates have their own context. All arguments stored in __this object.
  • All ENJS local variables ARE NOT creating in window['var']. They are local
  • Any change on __this object wouldn't affect original object, because it isolated
  • You could access, review, debug etc ENJS compiled code through source_map in your favorite DevTools
  • You could access to first rendered DOM element with __this.first()
  • EJS helpers removed