Commit Graph

34 Commits

Author SHA1 Message Date
Dmitriy Simushev
93884fb26b Add "else" block to "each" helper 2014-01-23 11:44:34 +00:00
Chris Gray
4d5e433e61 Fixed formating. 2014-01-20 11:14:53 -06:00
Chris Gray
a44777f52f Added Tests and changed internal representation of quoted string literals from strangely quoted string to an instance of \Handlebars\String 2014-01-20 09:57:16 -06:00
Chris Gray
49dcbb2573 Changed Internal representation of quoted string literals to be an instance of \Handlebars\String instead of strangely quoted string. 2014-01-20 09:04:31 -06:00
Chris Gray
1bbe32b56e Updated docblock 2014-01-19 21:06:22 -06:00
Chris Gray
415e642351 Fixed to conform to coding standards 2014-01-17 00:46:39 -06:00
Chris Gray
da1cf77c58 Added string literal support in Context::get and added Template::parseArguments to ease plugin development 2014-01-16 23:28:48 -06:00
behrooz shabani (everplays)
94fbc01217 first part is going to be used, so ignore the rest 2013-12-13 23:09:06 +03:30
behrooz shabani (everplays)
df6ecac7df extracted processing of sections from variable processing 2013-12-13 23:04:31 +03:30
behrooz shabani (everplays)
300f44e8c6 fixed a typo 2013-12-13 22:29:54 +03:30
fzerorubigd
82ea9f958d
add support for inline helper without #
fix #28
2013-12-06 18:00:03 +03:30
fzerorubigd
000bdd6e74
change default helpers to anonymus function again 2013-11-21 23:41:20 +03:30
fzerorubigd
8938fdc5c3
Another cleanup 2013-11-08 18:48:19 +03:30
fzerorubigd
d1856a4ed3
Cleanup. 2013-11-08 15:00:49 +03:30
behrooz shabani (everplays)
926b4fdc4d no longer Handlerbars_ prefix is being used 2013-11-05 15:36:34 +03:30
behrooz shabani (everplays)
e513648544 use PHP CodeSniffer's coding standards 2013-11-05 14:12:44 +03:30
behrooz shabani (everplays)
8ed1ebd051 Merge branch 'master' of github.com:virtuecenter/handlebars.php
Conflicts:
	src/Handlebars/Template.php
2013-11-05 10:58:02 +03:30
Bouke Versteegh
3d5d44d6d7 Added support for @index in sections: {{#listsection}}, and @key in objects: {{#each object}} 2013-11-01 13:57:00 +01:00
Dan Fellars
c179a4ce9b Converted License from GPLv3 to MIT 2013-10-18 10:07:27 -06:00
webuser
82a9faf3eb add namespace, remove underscores from class names 2013-09-21 15:10:30 -04:00
Behrooz Shabani
8eb732f407 Merge pull request #15 from daviddeutsch/master
Support for context passed into a partial as an argument
2013-07-26 03:17:19 -07:00
David Deutsch
3229ad7c45 Support for context passed into a partial as an argument 2013-07-26 01:27:07 +02:00
fzerorubigd
65eb09d101 Adding Handlebars_String to fix #12
If a helper return a Handlebars_String, then the result is compiled again.
2013-06-01 17:40:45 +04:30
fzerorubigd
c735de8e5b Merge branch 'master' of github.com:XaminProject/handlebars.php
Conflicts:
	src/Handlebars/Template.php
2012-11-29 12:24:45 +03:30
fzerorubigd
8d266bfcd8 return {{^var}} handler 2012-11-29 12:20:49 +03:30
fzerorubigd
ecc1b11f2a fix #4 , NEED TO ADD SOME TESTS ASAP 2012-11-29 10:53:03 +03:30
fzerorubigd
30795180a9 move stop token into stack, fix #3 2012-11-28 12:55:07 +03:30
fzerorubigd
d43d777ce6 change stack position just if there is stop token available 2012-11-19 17:56:10 +03:30
fzerorubigd
4244730d24 fix a bug with stop token (when there is no stop token at all) 2012-11-19 17:35:38 +03:30
fzerorubigd
b9b63836c7 change the way to fix #2 2012-11-17 16:30:25 +03:30
fzerorubigd
ec6761fde4 Add {{else}} support to if 2012-11-17 15:52:51 +03:30
fzerorubigd
e3c2936694 Add support for mustache like each/with and if 2012-11-10 14:44:23 +03:30
fzerorubigd
973dfff34a Remove T_INVERTED form Template.php 2012-10-29 12:27:19 +03:30
fzerorubigd
2af461c7f6 initial commit 2012-10-25 19:00:10 +03:30