mirror of https://github.com/apache/nifi.git
NIFI-5208:
- Ensuring nf-storage is injected where necessary. This closes #2757 Signed-off-by: Scott Aslan <scottyaslan@gmail.com>
This commit is contained in:
parent
06d1276f09
commit
cb216b79ec
|
@ -25,32 +25,35 @@
|
|||
define(['jquery',
|
||||
'nf.ErrorHandler',
|
||||
'nf.Common',
|
||||
'nf.Storage',
|
||||
'nf.Client',
|
||||
'nf.CanvasUtils',
|
||||
'nf.ProcessGroupConfiguration',
|
||||
'nf.ng.Bridge'],
|
||||
function ($, Slick, nfErrorHandler, nfCommon, nfClient, nfCanvasUtils, nfProcessGroupConfiguration, nfNgBridge) {
|
||||
return (nf.ComponentState = factory($, nfErrorHandler, nfCommon, nfClient, nfCanvasUtils, nfProcessGroupConfiguration, nfNgBridge));
|
||||
function ($, Slick, nfErrorHandler, nfCommon, nfStorage, nfClient, nfCanvasUtils, nfProcessGroupConfiguration, nfNgBridge) {
|
||||
return (nf.ComponentState = factory($, nfErrorHandler, nfCommon, nfStorage, nfClient, nfCanvasUtils, nfProcessGroupConfiguration, nfNgBridge));
|
||||
});
|
||||
} else if (typeof exports === 'object' && typeof module === 'object') {
|
||||
module.exports = (nf.ComponentState =
|
||||
factory(require('jquery'),
|
||||
require('nf.ErrorHandler'),
|
||||
require('nf.Common',
|
||||
require('nf.Common'),
|
||||
require('nf.Storage'),
|
||||
require('nf.Client'),
|
||||
require('nf.CanvasUtils'),
|
||||
require('nf.ProcessGroupConfiguration'),
|
||||
require('nf.ng.Bridge'))));
|
||||
require('nf.ng.Bridge')));
|
||||
} else {
|
||||
nf.ComponentVersion = factory(root.$,
|
||||
root.nf.ErrorHandler,
|
||||
root.nf.Common,
|
||||
root.nf.Storage,
|
||||
root.nf.Client,
|
||||
root.nf.CanvasUtils,
|
||||
root.nf.ProcessGroupConfiguration,
|
||||
root.nf.ng.Bridge);
|
||||
}
|
||||
}(this, function ($, nfErrorHandler, nfCommon, nfClient, nfCanvasUtils, nfProcessGroupConfiguration, nfNgBridge) {
|
||||
}(this, function ($, nfErrorHandler, nfCommon, nfStorage, nfClient, nfCanvasUtils, nfProcessGroupConfiguration, nfNgBridge) {
|
||||
'use strict';
|
||||
|
||||
var versionMap;
|
||||
|
|
|
@ -23,11 +23,12 @@
|
|||
'd3',
|
||||
'nf.Common',
|
||||
'nf.Dialog',
|
||||
'nf.Storage',
|
||||
'nf.ErrorHandler',
|
||||
'nf.Client',
|
||||
'nf.CanvasUtils'],
|
||||
function ($, d3, nfCommon, nfDialog, nfErrorHandler, nfClient, nfCanvasUtils) {
|
||||
return (nf.Connection = factory($, d3, nfCommon, nfDialog, nfErrorHandler, nfClient, nfCanvasUtils));
|
||||
function ($, d3, nfCommon, nfDialog, nfStorage, nfErrorHandler, nfClient, nfCanvasUtils) {
|
||||
return (nf.Connection = factory($, d3, nfCommon, nfDialog, nfStorage, nfErrorHandler, nfClient, nfCanvasUtils));
|
||||
});
|
||||
} else if (typeof exports === 'object' && typeof module === 'object') {
|
||||
module.exports = (nf.Connection =
|
||||
|
@ -35,6 +36,7 @@
|
|||
require('d3'),
|
||||
require('nf.Common'),
|
||||
require('nf.Dialog'),
|
||||
require('nf.Storage'),
|
||||
require('nf.ErrorHandler'),
|
||||
require('nf.Client'),
|
||||
require('nf.CanvasUtils')));
|
||||
|
@ -43,11 +45,12 @@
|
|||
root.d3,
|
||||
root.nf.Common,
|
||||
root.nf.Dialog,
|
||||
root.nf.Storage,
|
||||
root.nf.ErrorHandler,
|
||||
root.nf.Client,
|
||||
root.nf.CanvasUtils);
|
||||
}
|
||||
}(this, function ($, d3, nfCommon, nfDialog, nfErrorHandler, nfClient, nfCanvasUtils) {
|
||||
}(this, function ($, d3, nfCommon, nfDialog, nfStorage, nfErrorHandler, nfClient, nfCanvasUtils) {
|
||||
'use strict';
|
||||
|
||||
var nfSelectable;
|
||||
|
|
Loading…
Reference in New Issue