Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
update to john papa style polish
Browse files Browse the repository at this point in the history
  • Loading branch information
deepu105 committed Jun 3, 2016
1 parent 121251c commit 1354d93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ module.exports = yeoman.generators.Base.extend({
var $ = cheerio.load(html);
var footer = $('.footer');
if(footer.find('#bootswatch-theme-switcher').length == 0){
footer.append(" <div ng-controller=\"BootswatchController\" id=\"bootswatch-theme-switcher\" uib-dropdown class=\"dropup pull-right\">\n" +
footer.append(" <div ng-controller=\"BootswatchController as vm\" id=\"bootswatch-theme-switcher\" uib-dropdown class=\"dropup pull-right\">\n" +
" <a class=\"btn btn-default dropdown-toggle\" uib-dropdown-toggle>\n" +
" <span class=\"glyphicon glyphicon-adjust\"></span>\n" +
" <span class=\"hidden-tablet\" translate=\"bootswatch.themeSelector\">Theme</span>\n" +
" <b class=\"caret\"></b>\n" +
" </a>\n" +
" <ul class=\"dropdown-menu\" role=\"menu\" uib-dropdown-menu>\n" +
" <li class=\"theme-link\" ng-repeat=\"theme in themes\">\n" +
" <li class=\"theme-link\" ng-repeat=\"theme in vm.themes\">\n" +
" <a href=\"\" jh-switch-theme=\"theme\">{{theme.name}}</a>\n" +
" </li>\n" +
" </ul>\n" +
Expand Down

0 comments on commit 1354d93

Please sign in to comment.