web2py support / inline coffeescript tags#19
Open
danenania wants to merge 3 commits intojessemiller:masterfrom
Open
web2py support / inline coffeescript tags#19danenania wants to merge 3 commits intojessemiller:masterfrom
danenania wants to merge 3 commits intojessemiller:masterfrom
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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