Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web2py support / inline coffeescript tags #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

danenania
Copy link

Really like this idea so decided to add support for templates of my favorite framework web2py.

Sorry for the sloppy commits and lack of author. New to git and github. Don't worry, I'm much better at Python :D. Let me know if I'm doing something wrong.

Full details (also can be found in the second the last commit message--last one was cleanup):

-Added support for web2py style templates

*added optional template_type argument to command line arguments and all relevant classes/functions; django is always default

*generalized identifiers; replaced 'django' with 'template' in all relevant variables

*added full range of tests for web2py

*added optional template_type argument to hamlpy- watcher, defaults to django

*no django-based functionality was changed (except tag_name split, see final bullet)

-Added support for inline CoffeeScript tags with :coffeescript; works same as :javascript

  • Converted tag_name split to use '/w+' regex instead of plain ' ' so it won't break if extra spaces are inserted

unknown added 3 commits January 9, 2011 18:31
  *added optional template_type argument to command     line  arguments and all relevant classes/functions; django     is always default

  *generalized identifiers; replaced 'django' with 'template'        in all relevant variables

  *added full range of tests for web2py

  *added optional template_type argument to hamlpy-    watcher, defaults to django

  *no django-based functionality was changed (except     tag_name split, see final bullet)

-Added support for inline CoffeeScript tags with :coffeescript; works same as :javascript

- Converted tag_name split to use '\w+' regex instead of plain ' ' so it won't break if extra spaces are inserted
*added optional template_type argument to command line arguments and all relevant classes/functions; django is always default

*generalized identifiers; replaced 'django' with 'template' in all relevant variables

*added full range of tests for web2py

*added optional template_type argument to hamlpy- watcher, defaults to django

*no django-based functionality was changed (except tag_name split, see final bullet)

-Added support for inline CoffeeScript tags with :coffeescript; works same as :javascript

- Converted tag_name split to use 'w+' regex instead of plain ' ' so it won't break if extra spaces are inserted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants