GUI -- Cleanup in sample view, toolbar and button services.
Change-Id: I8e1f2cc344547f1a76681d74eec138495dd39bf6
diff --git a/web/gui/src/main/webapp/app/fw/widget/button.js b/web/gui/src/main/webapp/app/fw/widget/button.js
index d604851..14d329f 100644
--- a/web/gui/src/main/webapp/app/fw/widget/button.js
+++ b/web/gui/src/main/webapp/app/fw/widget/button.js
@@ -20,8 +20,10 @@
(function () {
'use strict';
+ // injected refs
var $log, fs, is;
+ // configuration
var btnSize = 25,
btnPadding = 4;
@@ -178,18 +180,20 @@
}
angular.module('onosWidget')
- .factory('ButtonService', ['$log', 'FnService', 'IconService',
- function (_$log_, _fs_, _is_) {
- $log = _$log_;
- fs = _fs_;
- is = _is_;
+ .factory('ButtonService',
+ ['$log', 'FnService', 'IconService',
- return {
- button: button,
- toggle: toggle,
- radioSet: radioSet,
- width: width
- };
- }]);
+ function (_$log_, _fs_, _is_) {
+ $log = _$log_;
+ fs = _fs_;
+ is = _is_;
-}());
\ No newline at end of file
+ return {
+ button: button,
+ toggle: toggle,
+ radioSet: radioSet,
+ width: width
+ };
+ }]);
+
+}());