openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
Forums
Y
Yz-Javascript-Django-Template-Compiler
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
about 18 hours
ago. based on code collected
about 19 hours
ago.
Jul 26, 2024 — Jul 26, 2025
Showing page 1 of 1
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Updated javascript generator: * Reduced size of generated files and increase execution speed by: * passing variables from outer scope to inner scope implicitly instead of explicitly passing it via the function parameters * According to test on JS Perf, passing variables explicitly was around 80% slower: <http://jsperf.com/using-bounded-global-variables/3> * Bug fix for include tag: * variables required by the included file will be added to the global con
Weiss I Nicht
More...
almost 15 years ago
Added customtags and filters, both js django components: * hash filter * the django filter was inspired from a blog article and a stackoverflow.com entry. * allows for access of dictionary elements in form of varA[varB] * assign node: * allows for new variables to be set in the template context * code was taken from a snippet online. * Set default js var type to 'input'. The other available type is 'implicit', which means that the variable will not be passed in to a function via the function parameters. This way if the variable is changed inside a function scope, the change will be reflected outside the scope as well Details:
Weiss I Nicht
More...
almost 15 years ago
Initial Commit: Basic js django compiler with support for following tags: * if tag * for tag
Weiss I Nicht
More...
almost 15 years ago
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree