Last active
August 29, 2015 14:13
-
-
Save jcottrell/92e6fc115e9bd91a60e9 to your computer and use it in GitHub Desktop.
Asana, use my words
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(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