Skip to content

Instantly share code, notes, and snippets.

@unamashana
Created December 26, 2013 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unamashana/8132179 to your computer and use it in GitHub Desktop.
Save unamashana/8132179 to your computer and use it in GitHub Desktop.
openSearchListing: (query, page) ->
key = "search/#{query}/#{page}"
listing = SB.Utils.getfromCache key, () ->
new SB.Views.Listings.Search query: query, page: page
@currentView.set listing.screenContent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment