Skip to content

Instantly share code, notes, and snippets.

@tbrd
Created February 22, 2014 10:52
Show Gist options
  • Save tbrd/9151957 to your computer and use it in GitHub Desktop.
Save tbrd/9151957 to your computer and use it in GitHub Desktop.
Default page with searchForm and keywordProcessor
define(function (require) {
'use strict';
/**
* Module dependencies
*/
var searchForm = require('component/search-form');
var keywordProcessor = require('component/keyword-processor');
/**
* Module exports
*/
return initialize;
/**
* Module function
*/
function initialize() {
searchForm.attachTo('.js-search');
keywordProcessor.attachTo('.js-search');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment