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 Acme\DemoBundle\DependencyInjection; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; | |
| use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; | |
| use Symfony\Component\HttpKernel\DependencyInjection\Extension; | |
| use Symfony\Component\Config\FileLocator; | |
| class AcmeDemoExtension extends Extension |
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 FSi\Bundle\DemoBundle\Behat\Page\Element; | |
| use SensioLabs\Behat\PageObjectExtension\PageObject\Element; | |
| use SensioLabs\Behat\PageObjectExtension\PageObject\Exception\UnexpectedPageException; | |
| /** | |
| * @author Norbert Orzechowicz <norbert@fsi.pl> | |
| */ |
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 FSi\Bundle\DemoBundle\Doctrine\DBAL\Types; | |
| use Doctrine\DBAL\Types\VarDateTimeType; | |
| use Doctrine\DBAL\Types\Type; | |
| use Doctrine\DBAL\Platforms\AbstractPlatform; | |
| class Datetime2Type extends VarDateTimeType | |
| { |
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
| window.onload = function() { | |
| var form = document.getElementById('form'), | |
| placeholderTestElm = document.createElement('input'), | |
| isSupported = !(undefined === placeholderTestElm.placeholder); | |
| if (!isSupported) { | |
| this.initPlaceholder(); | |
| form.onsubmit = function(e) { | |
| alert('After this point all inputs without values and with placeholder should be clear.'); |
NewerOlder