Skip to content

Instantly share code, notes, and snippets.

@kitschpatrol
Created August 22, 2012 01:28
Show Gist options
  • Save kitschpatrol/3421190 to your computer and use it in GitHub Desktop.
Save kitschpatrol/3421190 to your computer and use it in GitHub Desktop.
// Before:
gerome = new LionWidget({name: AppConstants.GEROME_ID, bitmap: Assets.vote_gerome, parent: this});
column = new LionWidget({name: AppConstants.COLUMN_ID, bitmap: Assets.vote_column, parent: this});
hercules = new LionWidget({name: AppConstants.HERCULES_ID, bitmap: Assets.vote_hercules, parent: this});
plate = new LionWidget({name: AppConstants.PLATE_ID, bitmap: Assets.vote_plate, parent: this});
benin = new LionWidget({name: AppConstants.PAIR_ID, bitmap: Assets.vote_benin, parent: this});
sekhmet = new LionWidget({name: AppConstants.SEKHMET_ID, bitmap: Assets.vote_sekhmet, parent: this});
// After:
gerome = new LionWidget({name: AppConstants.GEROME_ID , bitmap: Assets.vote_gerome , parent: this});
column = new LionWidget({name: AppConstants.COLUMN_ID , bitmap: Assets.vote_column , parent: this});
hercules = new LionWidget({name: AppConstants.HERCULES_ID, bitmap: Assets.vote_hercules, parent: this});
plate = new LionWidget({name: AppConstants.PLATE_ID , bitmap: Assets.vote_plate , parent: this});
benin = new LionWidget({name: AppConstants.PAIR_ID , bitmap: Assets.vote_benin , parent: this});
sekhmet = new LionWidget({name: AppConstants.SEKHMET_ID , bitmap: Assets.vote_sekhmet , parent: this});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment