Created
February 12, 2014 13:45
-
-
Save tbrd/8955818 to your computer and use it in GitHub Desktop.
Including the search form component in the default page
This file contains 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
define(function (require) { | |
'use strict'; | |
/** | |
* Module dependencies | |
*/ | |
var searchForm = require('component/search-form'); | |
/** | |
* Module exports | |
*/ | |
return initialize; | |
/** | |
* Module function | |
*/ | |
function initialize() { | |
searchForm.attachTo('.js-search'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment