Created
January 29, 2014 01:54
-
-
Save akgupta/8680353 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
| XLNT.getBucket('mobile.endorsements.profilepromo', 'memberId:23', function(err, bucket) { | |
| if(bucket === 'action_promo') { | |
| // serve view based JSON for action_promo | |
| } else if(bucket === 'hero_promo') { | |
| // serve view based JSON for hero_promo | |
| } else { | |
| // no call to action | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment