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
//////////////////////////////////// | |
// | |
// Internet Explorer localStorage polyfill | |
// MIT-style license. Copyright 2012 Matt V. Murphy | |
// | |
//////////////////////////////////// | |
(function(window, document) { | |
"use strict"; | |
var userData, attr, attributes; | |
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
import java.util.Timer; | |
import java.util.TimerTask; | |
import android.app.Activity; | |
import android.content.res.Resources; | |
import android.util.Log; | |
import android.view.View; | |
import android.view.animation.Animation; | |
import android.view.animation.Animation.AnimationListener; | |
import android.view.animation.Transformation; |
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
widget.sendAction("read_article", { | |
alertStyle : "topFadeIn", | |
throttleByUrlUniqueness : true, // Prevents earning achievements by reloading the page | |
callback : function(action, earned, achievement) { | |
console.log(action + " recorded"); // Outputs read_article recorded | |
} | |
}); |