Guest User

Updated JS from reuters.js

a guest
Oct 30th, 2013
157
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Old code - from reuters.js example
  2. Manager.store.addByValue('q', '*:*');    
  3.  
  4. //Custom query by end-user for my search.js file
  5. var userQuery = window.location.search.replace( "?query=", "" );
  6. Manager.store.addByValue('q', userQuery);
RAW Paste Data