Skip to content

Commit

Permalink
add .addClass() example to test/index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Sep 20, 2012
1 parent 29b58fe commit 4595f6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
padding: 80px;
color: #333;
}
.calendar.small td a {
font-size: 10px;
padding: 3px;
}
</style>
</head>
<body>
Expand Down Expand Up @@ -39,6 +43,7 @@ <h1>Calendar</h1>
one.el.appendTo('body');

var two = new Calendar;
two.addClass('small');
two.el.appendTo('body');
two.next();
</script>
Expand Down

0 comments on commit 4595f6f

Please sign in to comment.