packages/browser-sync-ui/lib/plugins/history/history.js
function (data) {
            var temp = addPath(validUrls, url.parse(data.href), bs.options.get("mode"));
            methods.sendUpdatedIfChanged(validUrls, temp, ui.socket);
        }
function (data) {
            var temp = addPath(validUrls, url.parse(data.href), bs.options.get("mode"));
            methods.sendUpdatedIfChanged(validUrls, temp, ui.socket);
        }
function ( data ) { var temp = addPath ( validUrls , url . parse ( data . href ) , bs . options . get ( "mode" ) ) ; methods . sendUpdatedIfChanged ( validUrls , temp , ui . socket ) ; }
Add a new path
@param data
Add a new path