Commits

Matthew Schinckel committed 2ce0754

Remove some logging statements.

  • Participants
  • Parent commits d50fbfb

Comments (0)

Files changed (1)

File src/js/datepicker.js

     
     // TODO: Figure out how to not add it multiple times!
     if (!$('style#datepicker-styles').length) {
-      console.log('styles not here yet');
       var $styles = $("<style id=\"datepicker-style\">.datepicker-wrapper {position: relative;display: inline;display: inline-block;}.datepicker {display: block;font-size: 12px;}.datepicker .alert-error {margin: 16px 32px;max-width: 220px;text-align: center;padding-bottom: 0;}.datepicker a {text-align: center;-webkit-border-radius: 4px;-moz-border-radius: 4px;border-radius: 4px;display: block;padding: 6px 12px;clear: both;font-weight: normal;line-height: 20px;color: #333333;white-space: nowrap;}.datepicker a:hover {color: #ffffff;text-decoration: none;background-color: #0081c2;background-image: -moz-linear-gradient(top, #0088cc, #0077b3);background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);background-image: -o-linear-gradient(top, #0088cc, #0077b3);background-image: linear-gradient(to bottom, #0088cc, #0077b3);background-repeat: repeat-x;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);cursor: hand;}.datepicker a:active {color: #333333;text-decoration: none;background-color: #0081c2;background-image: -moz-linear-gradient(top, #0088cc, #0077b3);background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);background-image: -o-linear-gradient(top, #0088cc, #0077b3);background-image: linear-gradient(to bottom, #0088cc, #0077b3);background-repeat: repeat-x;outline: 0;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);}.datepicker td, .datepicker th {padding: 0;}.datepicker tr {padding: 0 12px;}.datepicker:before {content: '';display: inline-block;border-left: 7px solid transparent;border-right: 7px solid transparent;border-bottom: 7px solid #ccc;border-bottom-color: rgba(0, 0, 0, 0.2);position: absolute;top: -7px;left: 6px;}.datepicker:after {content: '';display: inline-block;border-left: 6px solid transparent;border-right: 6px solid transparent;border-bottom: 6px solid #ffffff;position: absolute;top: -6px;left: 7px;}</style>");
       $('head').append($styles);
-      console.log($('style#datepicker-styles'));
     }
     
     var setDate = function setDate(newDate) {