Sha256: 42f3e093b3e748eeee0a44b8b6349bb4c3b66f4cd4afb571bbf36c3bb13939b3
Contents?: true
Size: 1013 Bytes
Versions: 24
Compression:
Stored size: 1013 Bytes
Contents
/** * @author thatcher */ (function(Q){ Q.describe('Window Location',{ before:function(){ //setup }, after:function(){ //tear down } }).should('provide required w3c interfaces', function(){ expect(12); ok(location === window.location, "location is window.location"); ok('href' in location, 'location.href'); ok('hash' in location, 'location.hash'); ok('host' in location, 'location.host'); ok('hostname' in location, 'location.hostname'); ok('pathname' in location, 'location.pathname'); ok('port' in location, 'location.port'); ok('search' in location, 'location.search'); ok(location.protocol, 'location.protocol'); ok(location.reload, 'location.reload'); ok(location.replace, 'location.replace'); ok(location.assign, 'location.assign'); }); })(QUnit);
Version data entries
24 entries across 24 versions & 4 rubygems