123456789101112131415161718192021222324252627282930 |
- "use strict";
- /**
- * Licensed Materials - Property of IBM
- * IBM Cognos Products: Cognos Analytics
- * Copyright IBM Corp. 2015, 2017
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- define(['underscore', 'doT', 'bi/admin/common/ui/GroupListView', 'text!bi/admin/datasource/templates/VendorListTemplate.html', 'text!bi/admin/datasource/templates/NewVendorListTemplate.html'], function (_, dot, GroupListView, listTemp, newListTemp, datasources) {
- 'use strict'; //NOSONAR: meant to be strict
- var VendorListView = GroupListView.extend({
- simpleList: true,
- template: listTemp,
- /**
- * @constructor
- */
- init: function init(options) {
- _.extend(this, options);
- VendorListView.inherited('init', this, arguments);
- if (this.glassContext.isDevInstall()) {
- this.template = newListTemp;
- }
- }
- });
- return VendorListView;
- });
|