Removed dep on jqm.core

This commit is contained in:
Ghislain Seguin 2011-12-01 17:15:52 -08:00 committed by scottjehl
parent b0ef5af05f
commit 88d5f0f89a

View file

@ -2,7 +2,7 @@
* "buttons" plugin - for making button-like links
*/
define( [ "jquery", "jquery.mobile.core", "jquery.mobile.vmouse" ], function( $, undefined ) {
define( [ "jquery", "jquery.mobile.vmouse" ], function( $, undefined ) {
$.fn.buttonMarkup = function( options ) {
options = options || {};
@ -73,7 +73,7 @@ $.fn.buttonMarkup = function( options ) {
}
e.setAttribute( "data-" + $.mobile.ns + "theme", o.theme );
el.addClass( buttonClass );
el.removeClass( "ui-link" ).addClass( buttonClass );
buttonInner.className = innerClass;