This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// This example uses a fork of the OAuthSimple library for PHP | |
// found here: https://github.com/tonefolder/oauthsimple/tree/master/php | |
// | |
// For more information about the OAuth process for applications | |
// accessing Discogs API, read: | |
// http://www.discogs.com/developers | |
require 'oauth.php'; | |
$oauthObject = new OAuthSimple(); | |
$scope = 'http://api.discogs.com'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function () { | |
// This function does the dirty work of finding the event type and setting the appropriate title | |
var updatePageTitle = function ( evt ) { | |
var v = "This text should match your <title> element", // The title when tab is visible | |
h = "I Miss You! ❤", // The title when tab is hidden | |
evtMap = { | |
focus: v, | |
focusin: v, | |
pageshow: v, |