Combined classes into single jQuery statement
parent
6a3fa5ecca
commit
16b0ece58a
|
@ -32,9 +32,7 @@
|
||||||
$( '<div>' )
|
$( '<div>' )
|
||||||
.attr( 'id', 'try' )
|
.attr( 'id', 'try' )
|
||||||
.text( 'Try It!' )
|
.text( 'Try It!' )
|
||||||
.addClass( 'btn' )
|
.addClass( 'btn large glow' )
|
||||||
.addClass( 'large' )
|
|
||||||
.addClass( 'glow' )
|
|
||||||
.mousedown( function( event )
|
.mousedown( function( event )
|
||||||
{
|
{
|
||||||
// prevent dragging from highlighting the text (so it looks more
|
// prevent dragging from highlighting the text (so it looks more
|
||||||
|
@ -75,9 +73,7 @@
|
||||||
.append( $( '<div>' )
|
.append( $( '<div>' )
|
||||||
.attr( 'id', 'run' )
|
.attr( 'id', 'run' )
|
||||||
.text( 'Run' )
|
.text( 'Run' )
|
||||||
.addClass( 'btn' )
|
.addClass( 'btn med green' )
|
||||||
.addClass( 'med' )
|
|
||||||
.addClass( 'green' )
|
|
||||||
.click( function()
|
.click( function()
|
||||||
{
|
{
|
||||||
var Class = easejs.Class;
|
var Class = easejs.Class;
|
||||||
|
|
Loading…
Reference in New Issue