aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/progressbar.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/progressbar.js')
-rw-r--r--ui/widgets/progressbar.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/ui/widgets/progressbar.js b/ui/widgets/progressbar.js
index dd7ee3143..e39bc2fcb 100644
--- a/ui/widgets/progressbar.js
+++ b/ui/widgets/progressbar.js
@@ -9,9 +9,9 @@
//>>label: Progressbar
//>>group: Widgets
-// jscs:disable maximumLineLength
+/* eslint-disable max-len */
//>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators.
-// jscs:enable maximumLineLength
+/* eslint-enable max-len */
//>>docs: http://api.jqueryui.com/progressbar/
//>>demos: http://jqueryui.com/progressbar/
//>>css.structure: ../../themes/base/core.css
@@ -19,6 +19,8 @@
//>>css.theme: ../../themes/base/theme.css
( function( factory ) {
+ "use strict";
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
@@ -32,7 +34,8 @@
// Browser globals
factory( jQuery );
}
-}( function( $ ) {
+} )( function( $ ) {
+"use strict";
return $.widget( "ui.progressbar", {
version: "@VERSION",
@@ -175,4 +178,4 @@ return $.widget( "ui.progressbar", {
}
} );
-} ) );
+} );