/* global conjur */ (function(conjur) { 'use strict'; this.Search = { handleSubmit: function() { var search = this.refs.input.getDOMNode().value; if (search && search.length !== 0) { conjur.app.router.navigate('/ui/search/' + window.encodeURIComponent(search), {trigger: true}); } return false; } }; }).bind(conjur.views.mixins) ( conjur );