aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widget.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2016-03-31 00:05:45 -0400
committerScott González <scott.gonzalez@gmail.com>2016-04-13 11:31:58 -0400
commitc4e5d73b36ab64a205877abf415f41eb7e9a2d74 (patch)
tree8a000e0479c426089eb22a3214414c3db488dee4 /ui/widget.js
parentca3d4511c4ffc49bf7fcd2beca46d135d73660c7 (diff)
downloadjquery-ui-c4e5d73b36ab64a205877abf415f41eb7e9a2d74.tar.gz
jquery-ui-c4e5d73b36ab64a205877abf415f41eb7e9a2d74.zip
Widget: Fix line length issues
Ref gh-1690
Diffstat (limited to 'ui/widget.js')
-rw-r--r--ui/widget.js6
1 files 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 );