mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: operator-linebreak
``` /Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/helium/helium.controller.js (1/0) ✖ 324:78 '?' should be placed at the beginning of the line operator-linebreak /Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js (1/0) ✖ 1263:71 '?' should be placed at the beginning of the line operator-linebreak ```
This commit is contained in:
parent
925dc7be6b
commit
9150539175
4 changed files with 6 additions and 7 deletions
|
|
@ -35,7 +35,6 @@
|
|||
"no-useless-constructor": 0,
|
||||
"no-unused-expressions": 0,
|
||||
"space-infix-ops": 0,
|
||||
"operator-linebreak": 0,
|
||||
"prefer-spread": 0,
|
||||
"no-redeclare": 0,
|
||||
"standard/object-curly-even-spacing": 0,
|
||||
|
|
|
|||
|
|
@ -321,8 +321,8 @@ export default function HeliumCtrl($scope, $rootScope, $sce,
|
|||
};
|
||||
|
||||
$scope.getConfigButtonClass = function(pkgSearchResult) {
|
||||
return (pkgSearchResult.configOpened && pkgSearchResult.configFetching) ?
|
||||
'disabled' : '';
|
||||
return (pkgSearchResult.configOpened && pkgSearchResult.configFetching)
|
||||
? 'disabled' : '';
|
||||
}
|
||||
|
||||
$scope.toggleConfigButton = function(pkgSearchResult) {
|
||||
|
|
|
|||
|
|
@ -1297,8 +1297,8 @@ function ParagraphCtrl($scope, $rootScope, $route, $window, $routeParams, $locat
|
|||
if (newPara.results && newPara.results.msg) {
|
||||
for (let i in newPara.results.msg) {
|
||||
const newResult = newPara.results.msg ? newPara.results.msg[i] : {};
|
||||
const oldResult = (oldPara.results && oldPara.results.msg) ?
|
||||
oldPara.results.msg[i] : {};
|
||||
const oldResult = (oldPara.results && oldPara.results.msg)
|
||||
? oldPara.results.msg[i] : {};
|
||||
const newConfig = newPara.config.results ? newPara.config.results[i] : {};
|
||||
const oldConfig = oldPara.config.results ? oldPara.config.results[i] : {};
|
||||
if (!angular.equals(newResult, oldResult) ||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ function noteListDataFactory(TRASH_FOLDER_ID) {
|
|||
setNotes: function(notesList) {
|
||||
// a flat list to boost searching
|
||||
notes.flatList = _.map(notesList, (note) => {
|
||||
note.isTrash = note.name ?
|
||||
note.name.split('/')[0] === TRASH_FOLDER_ID : false;
|
||||
note.isTrash = note.name
|
||||
? note.name.split('/')[0] === TRASH_FOLDER_ID : false;
|
||||
return note;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue