- We've got some components
A,BandCwhich provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
| <?php | |
| function camel_to_snake($input) | |
| { | |
| return strtolower(preg_replace('/(?<!^)[A-Z]/', '_$0', $input)); | |
| } | |
| function snakeToCamel($input) | |
| { | |
| return lcfirst(str_replace(' ', '', ucwords(str_replace('_', ' ', $input)))); | |
| } |
| /** | |
| * Print SAMD chip serial number. | |
| * | |
| * http://atmel.force.com/support/articles/en_US/FAQ/Reading-unique-serial-number-on-SAM-D20-SAM-D21-SAM-R21-devices | |
| */ | |
| void setup() { | |
| Serial.begin(9600); | |
| delay(1000); | |
| } |
| \Doctrine\DBAL\Types\Type::addType('uuid', 'BuboBox\Doctrine2\DBAL\Types\UuidType'); |
| <?php | |
| /** | |
| * @author Filip Procházka <[email protected]> | |
| */ | |
| abstract class BasePresenter extends Nette\Application\UI\Presenter | |
| { | |
| /** | |
| * @var \Img\ImagePipe |