WardCunningham/Smallest-Federated-Wiki — pull request #80 by nickn (2012-01-08 10:16:31+00:00)
Title: Preserves federated site origin in url

Just a small change for now, adds a locsInDom helper function to make an array of the page locations that have already been written to the dom, to go with pagesInDom. And adds locs to the state data object to track the locations, and uses that when writing the url to keep the location information. Has fail safes everywhere, so if a location doesn't exist at any stage 'view' gets used instead.