PageRenderTime 165ms CodeModel.GetById 80ms app.highlight 4ms RepoModel.GetById 76ms app.codeStats 1ms

/library/platform/LocationOpera.py

http://pyjamas.googlecode.com/
Python | 8 lines | 6 code | 2 blank | 0 comment | 0 complexity | 82d11b739e12ac0deb8070e3ed7b5957 MD5 | raw file
1from __pyjamas__ import unescape
2
3class Location:
4    def getHash(self):
5        return unescape(self.location.hash)
6    
7    def getSearch(self):
8        return unescape(self.location.search)