This file contains hidden or 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 () { | |
'use strict'; | |
var clientKey = "XXXXXXXXXXXXXX"; | |
var clientSecret = "XXXXXXXXXXXX"; | |
var oauthToken; | |
var oauthSecret; | |
var userId; | |
var loginUrl; | |
var applicationName; |
This file contains hidden or 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
// jQuery based patch for onorientationchange | |
(function () { | |
var w = window.innerWidth, h = window.innerHeight, el = $('body')[0]; | |
if (!('onorientationchange' in el)) { | |
if (el.setAttribute) { | |
el.setAttribute('onorientationchange', 'return;'); | |
if (!typeof element[eventName] == 'function') { | |
// patch support for the onorientationchange event via onresize | |
$(window).resize(function () { |
NewerOlder