Skip to content

Instantly share code, notes, and snippets.

@jcottrell
Last active August 29, 2015 14:13
Show Gist options
  • Select an option

  • Save jcottrell/92e6fc115e9bd91a60e9 to your computer and use it in GitHub Desktop.

Select an option

Save jcottrell/92e6fc115e9bd91a60e9 to your computer and use it in GitHub Desktop.
Asana, use my words
(function(win){
var words = function () {
if (win.AsanaRainbow) {
AsanaRainbow._CELEBRATIONS.forEach(function (cv, i, ar) {
ar[i].messages = ['Praise God', 'As to the Lord', 'Nice',
'Oh yeah', 'Huge', 'Amazing', 'Yippee',
'Woohoo', 'Hooray', 'Heroic', 'Solid',
'Genius', 'Nifty', 'Work harder'];
});
}
};
if (win.AsanaRainbow === undefined) {
env.dynamic_loader.load({
url:CommonUrl.staticUrl('apps/asana/view/asana_rainbow.js'),
allow_cached:!1,
callback: words
});
} else {
words();
}
}(window))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment