Last active
August 29, 2015 14:11
-
-
Save mmurph211/27f665530d9bd004f7ed to your computer and use it in GitHub Desktop.
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 | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment