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
<?php | |
namespace App\Filter; | |
use ApiPlatform\Doctrine\Orm\Filter\FilterInterface; | |
use Doctrine\ORM\Query\Expr\Comparison; | |
use Doctrine\ORM\QueryBuilder; | |
use ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface; | |
use Symfony\Component\HttpFoundation\RequestStack; | |
use Symfony\Component\PropertyInfo\Type; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Test Visual Commerce</title> | |
</head> | |
<body> | |
<p><a href="https://gist.github.com/nicolasbonnici/e72b35a953407b81190b2fa215449918">see here</a></p> | |
<div id="widget-container-gallery"></div> |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
robot.ahead(100); |