2 * Copyright (c) 2012, Intel Corporation.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
11 $.cowhide.initThemeEngine({
14 $('#night-mode-toggle').click(function() {
15 $.cowhide.toggleNightMode();
18 $('#driving-mode-toggle').click(function() {
19 $.cowhide.toggleDrivingMode();
22 $('form#font-size-test button').click(function() {
23 var $form = $(this).closest('form');
24 var $input = $form.find('input');
25 var val = $input.val();
27 $('.btn').css('font-size', val + 'px');