Skip to content

Instantly share code, notes, and snippets.

View fpoirier1's full-sized avatar

Francis Poirier fpoirier1

View GitHub Profile
@fpoirier1
fpoirier1 / behat.yml
Last active April 2, 2019 15:23
Behat DrupalVM config
default:
suites:
web_features:
paths: [ "%paths.base%/features/web" ]
contexts:
# - FeatureContext
- WebContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MinkContext
@fpoirier1
fpoirier1 / ScheduleField.jsx
Created February 15, 2017 23:02
Schedule Form Example
import React, { Component, PropTypes } from 'react';
// Task component - represents a single todo item
export default class ScheduleField extends Component {
change(event){
this.props.onChange({
time : this.refs.timeInput
})
}
@fpoirier1
fpoirier1 / email-template.html
Created June 11, 2014 18:01
Render template on server with UnderscoreJS
<!-- private/email-template.html -->
<div>Welcome {{name}}</div>