From c4e5d73b36ab64a205877abf415f41eb7e9a2d74 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Thu, 31 Mar 2016 00:05:45 -0400 Subject: [PATCH] Widget: Fix line length issues Ref gh-1690 --- ui/widget.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/widget.js b/ui/widget.js index e38c0c871..c82b95326 100644 --- a/ui/widget.js +++ b/ui/widget.js @@ -225,12 +225,14 @@ $.widget.bridge = function( name, object ) { } if ( !instance ) { - return $.error( "cannot call methods on " + name + " prior to initialization; " + + return $.error( "cannot call methods on " + name + + " prior to initialization; " + "attempted to call method '" + options + "'" ); } if ( !$.isFunction( instance[ options ] ) || options.charAt( 0 ) === "_" ) { - return $.error( "no such method '" + options + "' for " + name + " widget instance" ); + return $.error( "no such method '" + options + "' for " + name + + " widget instance" ); } methodValue = instance[ options ].apply( instance, args ); -- 2.39.5