cockpit-project/cockpit — pull request #1447 by stefwalter (2014-11-06 12:53:47+00:00)
Title: base: Use the shell to determine default host if loaded into shell

When cockpit.js code is loaded into the shell, use the shell to determine
the default host rather than requiring it to be passed in all over the
place.

This lets us write future proof code. Later on when everything is migrated
we can remove this hack.