or
router.navigate(
'/search + '
?q=
' + encodeURIComponent($('
#search-input').value()));
router.route(
'/search'
,
function
() {
applicationLayout.showIn(
'#search-view'
, searchView);
$(
'#search-results'
).html(
'<gcse:searchresults-only></gcse:searchresults-only>'
);
var
script = (document.location.protocol ===
'https:'
?
'https:'
:
'http:'
) +
'//www.google.com/cse/cse.js?cx=003237445845897440411%3Atuurehzakfu'
;
$.getScript(script);
});
router.route("/images(?:params)", function (params) {
router.route("/images(?:params)", function (dummy, params) {
router.route("/images/:id", function(id, params) {