Skip to content

Commit

Permalink
Updated Dust-PHP to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
Miika Arponen committed Jan 4, 2017
1 parent a8f1fea commit dca5282
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions dust/Dust.php
Expand Up @@ -86,6 +86,7 @@ public function __construct(Parser $parser = NULL, Evaluator $evaluator = NULL)
"if" => new Helper\IfHelper(), "if" => new Helper\IfHelper(),
"lt" => new Helper\Lt(), "lt" => new Helper\Lt(),
"lte" => new Helper\Lte(), "lte" => new Helper\Lte(),
"ne" => new Helper\Ne(),
"gt" => new Helper\Gt(), "gt" => new Helper\Gt(),
"gte" => new Helper\Gte(), "gte" => new Helper\Gte(),
"default" => new Helper\DefaultHelper(), "default" => new Helper\DefaultHelper(),
Expand Down
10 changes: 10 additions & 0 deletions dust/Helper/Ne.php
@@ -0,0 +1,10 @@
<?php
namespace Dust\Helper;

class Ne extends Comparison
{
public function isValid($key, $value) {
return $key != $value;
}

}
2 changes: 1 addition & 1 deletion dustpress.php
Expand Up @@ -6,7 +6,7 @@
Author: Miika Arponen & Ville Siltala / Geniem Oy Author: Miika Arponen & Ville Siltala / Geniem Oy
Author URI: http://www.geniem.com Author URI: http://www.geniem.com
License: GPLv3 License: GPLv3
Version: 1.3.9 Version: 1.3.10
*/ */


final class DustPress { final class DustPress {
Expand Down

0 comments on commit dca5282

Please sign in to comment.