Skip to content

Instantly share code, notes, and snippets.

@skamenetskiy
skamenetskiy / SearchObject.js
Last active August 29, 2015 14:17
A simple library for adding a searchObject parameter to global location object.
/**
* A simple library for adding a searchObject parameter to global location object.
* The script supports IE7+ and the normal browsers
* @copyright Semen Kamenetskiy <[email protected]>
* @link https://gist.github.com/skamenetskiy/398a7512960e827b4ab2
*/
(function (Window, History, Location, _objectName, _prefix, _states) {
'use strict';