Skip to content

Commit c4e5d73

Browse files
arschmitzscottgonzalez
authored andcommitted
Widget: Fix line length issues
Ref jquerygh-1690
1 parent ca3d451 commit c4e5d73

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ui/widget.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,14 @@ $.widget.bridge = function( name, object ) {
225225
}
226226

227227
if ( !instance ) {
228-
return $.error( "cannot call methods on " + name + " prior to initialization; " +
228+
return $.error( "cannot call methods on " + name +
229+
" prior to initialization; " +
229230
"attempted to call method '" + options + "'" );
230231
}
231232

232233
if ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === "_" ) {
233-
return $.error( "no such method '" + options + "' for " + name + " widget instance" );
234+
return $.error( "no such method '" + options + "' for " + name +
235+
" widget instance" );
234236
}
235237

236238
methodValue = instance[ options ].apply( instance, args );

0 commit comments

Comments
 (0)