Skip to content

Instantly share code, notes, and snippets.

View tbrd's full-sized avatar

Thomas Hamshere-Clarke tbrd

View GitHub Profile
@tbrd
tbrd / search-form.spec.js
Last active August 29, 2015 13:56
jasmine-flight test to check handling of a search form
'use strict';
describeComponent('component/search-form', function () {
// Initialize the component and attach it to the DOM
beforeEach(function () {
var fixture = '<form><input class="js-keywords" type="text" value="teststring"/></form>'
setupComponent(fixture);
});
@tbrd
tbrd / index.html
Created February 12, 2014 12:12
Adding a search form to a new Flight application
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>example</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/css/main.css">
</head>