1
0
Fork 0
Commit Graph

83 Commits

Author SHA1 Message Date
Alexander Yakovlev 53391d850a
composer compatibility 2019-06-17 19:30:29 +07:00
Woody Gilk 33bc648848 Bump version, update docblock 2014-05-08 09:53:21 -05:00
Paul Schwarz f766b9c130 Uses the proper Kohana cache directory. 2014-04-05 19:38:48 +04:00
Evan Purkhiser 598a60b09b Kostache_Layout: Load content as mustache source
This fixes issues caused by the content partial being rendered and then
injected as a partial in the layout template and being rendered again
2013-05-22 18:29:15 -04:00
Jeremy Bush 57c4b91d8b Show correct filename case in template loading error 2013-01-26 19:16:56 -06:00
Jeremy Bush 189a3c0ade Merge remote-tracking branch 'anroots/pull-fileload' into develop
Conflicts:
	classes/Mustache/Loader/Kohana.php
2013-01-17 12:36:56 -06:00
Ando Roots 74841f65ac Throw Kohana_Exception when Mustache template file not found 2012-12-30 20:36:12 +02:00
Jeremy Bush 5bbdd839fa Remove leading period on custom extensions. Fixes #50 2012-11-13 14:42:40 -06:00
creatoro ae75356afa Always use lowercase template filenames.
Refs #47.
2012-11-12 17:43:29 +01:00
Jeremy Bush 5999677f65 Fix PSR-0 issue with html class. Fixes #45 2012-11-05 06:32:21 -06:00
Jeremy Bush 660e579073 Remove old mustache extension file 2012-11-04 21:00:16 -06:00
Jeremy Bush 4748c07be2 Add factory method to layout class, lets you pass a custom layout into the class 2012-10-31 22:09:32 -05:00
Jeremy Bush b8c530249f Overload constructor for layout class to provide a custom layout 2012-10-31 22:00:11 -05:00
Jeremy Bush a701055a58 remove render_layout, since it is useless now that we have different renderers 2012-10-31 21:39:43 -05:00
Jeremy Bush c7eccc88f8 Pass class and template to parent if render layout is off 2012-10-31 21:35:14 -05:00
Jeremy Bush b61870b811 Add Kostache_Layout class 2012-10-31 20:35:08 -05:00
Jeremy Bush 559e60b928 Add caching support 2012-10-24 17:32:44 -05:00
Jeremy Bush b6e1c6e7d8 Refactor main class to not require template explicitly 2012-10-23 22:47:20 -05:00
Jeremy Bush c08b7a3a23 Get loading working 2012-10-23 22:22:15 -05:00
Jeremy Bush 8906a63e8e Switch to mustache v2, not done 2012-10-23 18:17:02 -05:00
Jeremy Bush 797cb4e9a6 Bump version 2012-10-23 12:39:40 -05:00
Paul Dixon 815fd6eb17 renaming files to support PSR-0 naming convention 2012-03-26 23:58:04 +01:00
Woody Gilk 3e42882462 Bump version to v2.0.6 2012-01-08 19:13:39 -06:00
Woody Gilk c98e58a6ce Moved all copyrights to 2012 2012-01-08 19:12:53 -06:00
Jeremy Bush 99d8767621 bumping version 2011-09-29 13:47:49 -05:00
Woody Gilk 151a9002e7 Merge branch '3.0/master' into 3.1/master 2011-04-02 17:24:16 -05:00
Woody Gilk 84bc9e88fa Preparing release v2.0.4 2011-04-02 17:24:15 -05:00
Woody Gilk d2eadd380c Do not include the template name in Kostache::factory, do all template detection in __construct, fixes #22 2011-04-02 17:06:14 -05:00
Woody Gilk b68b730fd0 Merge branch '3.0/master' into 3.1/master 2011-03-29 11:48:10 -05:00
Woody Gilk e4f538e4d7 Bump version number 2011-03-29 11:46:18 -05:00
Woody Gilk 185e9d4905 Fixes cf68822121 for Kohana 3.1 compatibility 2011-03-29 11:03:43 -05:00
Woody Gilk 9b4ac1c1a1 Preparing v2.0.2 release 2011-03-29 10:59:44 -05:00
Woody Gilk cf68822121 Use Kohana exception ::handler() rather than just ::text() to display the exception, fixes #18 2011-03-29 10:58:36 -05:00
Woody Gilk 1c73ca8b0b Check $this->_template before detecting the template, fixes #19 2011-03-29 10:55:03 -05:00
Woody Gilk 228b8d111c Added missing newline to EOF 2011-03-16 09:17:01 -05:00
czukowski cbdd16bcb2 Mustache class extension 2011-03-16 09:15:49 -05:00
Woody Gilk e044fdb749 Merge branch '3.0/master' into 3.0/develop 2011-03-14 14:19:52 -05:00
Woody Gilk 19bfd1e3da Preparing for v2.0.1 release 2011-03-14 14:19:15 -05:00
Woody Gilk 58c26155ee Added missing template detection when using "new View_Foo" instead of "Kostache::factory(foo)" 2011-03-14 14:17:34 -05:00
Woody Gilk d632be3fd4 Added new $options parameter to Kostache::_stache() which will appear in v6.0.0 of mustache.php 2011-03-01 13:52:00 -05:00
Woody Gilk e655f3812b Merge branch '3.0/master' into 3.1/master 2011-02-28 09:50:37 -05:00
Woody Gilk c665fad5a9 __toString must return a string 2011-02-28 09:47:57 -05:00
Woody Gilk d8e3a1ffbb Merge branch '3.0/not-extends-mustache' into 3.1/not-extends-mustache 2011-02-25 11:01:38 -05:00
Woody Gilk 6cc9fa9dcd Added class doc comment and LICENSE file 2011-02-25 11:01:20 -05:00
Woody Gilk c1f5b5592d Added $render_layout flag to Kostache_Layout 2011-02-25 11:01:12 -05:00
Woody Gilk 553d8dda07 Kohana 3.1 compatibility 2011-02-25 10:29:07 -05:00
Woody Gilk 3919aab096 Make all Kostache classes abstract 2011-02-24 18:34:41 -05:00
Woody Gilk 6e3e9c46de Load partials defined by view in __construct 2011-02-24 18:20:05 -05:00
Woody Gilk 454a50e62a Forgot to actually make Kostache not extend Mustache, DOH! 2011-02-24 18:00:13 -05:00
Woody Gilk e77f6a99a2 Kostache not extending Mustache, aka Kostache v2.0beta1 2011-02-24 17:45:29 -05:00