Skip to content

Commit

Permalink
[CLEANUP]
Browse files Browse the repository at this point in the history
	- added package-pom.xml to gitignore list
	- checkstyle
  • Loading branch information
afrjorge committed Sep 6, 2015
1 parent 6fd0ea2 commit f1caf46
Show file tree
Hide file tree
Showing 17 changed files with 76 additions and 40 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -57,3 +57,4 @@ cde-pentaho5/node_modules
pentaho-js-build.zip
requireCfg.js
requireCfg-raw.js
package-pom.xml
7 changes: 5 additions & 2 deletions cde-core/test-js/components/AjaxRequestComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/AjaxRequestComponent', 'cdf/lib/jquery'],
function(Dashboard, AjaxRequestComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/AjaxRequestComponent',
'cdf/lib/jquery'
], function(Dashboard, AjaxRequestComponent, $) {

/**
* ## The Ajax Request Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/CggComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/CggComponent', 'cdf/lib/jquery'],
function(Dashboard, CggComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/CggComponent',
'cdf/lib/jquery'
], function(Dashboard, CggComponent, $) {

/**
* ## The Cgg Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/CggDialComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/CggDialComponent', 'cdf/lib/jquery'],
function(Dashboard, CggDialComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/CggDialComponent',
'cdf/lib/jquery'
], function(Dashboard, CggDialComponent, $) {

/**
* ## The Cgg Dial Component
Expand Down
4 changes: 2 additions & 2 deletions cde-core/test-js/components/DuplicateComponent-spec.js
Expand Up @@ -15,8 +15,8 @@ define([
'cdf/Dashboard.Clean',
'cde/components/CggDialComponent',
'cde/components/DuplicateComponent',
'cdf/lib/jquery'],
function(Dashboard, CggDialComponent, DuplicateComponent, $) {
'cdf/lib/jquery'
], function(Dashboard, CggDialComponent, DuplicateComponent, $) {

/**
* ## The Duplicate Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/ExportButtonComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/ExportButtonComponent', 'cdf/lib/jquery'],
function(Dashboard, ExportButtonComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/ExportButtonComponent',
'cdf/lib/jquery'
], function(Dashboard, ExportButtonComponent, $) {

/**
* ## The Export Button Component
Expand Down
6 changes: 4 additions & 2 deletions cde-core/test-js/components/ExportPopupComponent-spec.js
Expand Up @@ -11,8 +11,10 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/ExportPopupComponent'],
function(Dashboard, ExportPopupComponent) {
define([
'cdf/Dashboard.Clean',
'cde/components/ExportPopupComponent'
], function(Dashboard, ExportPopupComponent) {

/**
* ## The ExportPopup Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/GMapsOverlayComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/GMapsOverlayComponent', 'cdf/lib/jquery'],
function(Dashboard, GMapsOverlayComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/GMapsOverlayComponent',
'cdf/lib/jquery'
], function(Dashboard, GMapsOverlayComponent, $) {

/**
* ## The Google Maps Overlay Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/NewMapComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/NewMapComponent', 'cdf/lib/jquery'],
function(Dashboard, NewMapComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/NewMapComponent',
'cdf/lib/jquery'
], function(Dashboard, NewMapComponent, $) {

/**
* ## The New Map Component
Expand Down
4 changes: 2 additions & 2 deletions cde-core/test-js/components/NewSelectorComponent-spec.js
Expand Up @@ -14,8 +14,8 @@
define([
'cdf/Dashboard.Clean',
'cde/components/NewSelectorComponent',
'cdf/lib/jquery'],
function(Dashboard, NewSelectorComponent, $) {
'cdf/lib/jquery'
], function(Dashboard, NewSelectorComponent, $) {

/**
* ## The New Selector Component
Expand Down
4 changes: 2 additions & 2 deletions cde-core/test-js/components/OlapSelectorComponent-spec.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions cde-core/test-js/components/PopupComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/PopupComponent', 'cdf/lib/jquery'],
function(Dashboard, PopupComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/PopupComponent',
'cdf/lib/jquery'
], function(Dashboard, PopupComponent, $) {

/**
* ## The Popup Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/RaphaelComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/RaphaelComponent', 'cdf/lib/jquery'],
function(Dashboard, RaphaelComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/RaphaelComponent',
'cdf/lib/jquery'
], function(Dashboard, RaphaelComponent, $) {

/**
* ## The Raphael Component
Expand Down
6 changes: 4 additions & 2 deletions cde-core/test-js/components/RelatedContentComponent-spec.js
Expand Up @@ -11,8 +11,10 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/RelatedContentComponent'],
function(Dashboard, RelatedContentComponent) {
define([
'cdf/Dashboard.Clean',
'cde/components/RelatedContentComponent'
], function(Dashboard, RelatedContentComponent) {

/**
* ## The Related Content Component
Expand Down
21 changes: 11 additions & 10 deletions cde-core/test-js/components/SiteMapComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/SiteMapComponent', 'cdf/lib/jquery'],
function(Dashboard, SiteMapComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/SiteMapComponent',
'cdf/lib/jquery'
], function(Dashboard, SiteMapComponent, $) {

/**
* ## The Site Map Component
Expand All @@ -23,14 +26,12 @@ define(['cdf/Dashboard.Clean', 'cde/components/SiteMapComponent', 'cdf/lib/jquer
dashboard.init();

dashboard.addParameter("param1", function() {
return [
{"name": "Pentaho", "link": "http://www.pentaho.com/"},
{"name": "Pentaho Community", "link": "http://community.pentaho.com/"},
{"name": "Webdetails",
"link": "http://www.webdetails.pt/",
"sublinks": [{"name": "CTools", "link": "http://www.webdetails.pt/ctools/"},
{"name": "Showcase", "link": "http://www.webdetails.pt/showcase/"}]
}];
return [{"name": "Pentaho", "link": "http://www.pentaho.com/"},
{"name": "Pentaho Community", "link": "http://community.pentaho.com/"},
{"name": "Webdetails",
"link": "http://www.webdetails.pt/",
"sublinks": [{"name": "CTools", "link": "http://www.webdetails.pt/ctools/"},
{"name": "Showcase", "link": "http://www.webdetails.pt/showcase/"}]}];
}());

var siteMapComponent = new SiteMapComponent({
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/TextEditorComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/TextEditorComponent', 'cdf/lib/jquery'],
function(Dashboard, TextEditorComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/TextEditorComponent',
'cdf/lib/jquery'
], function(Dashboard, TextEditorComponent, $) {

/**
* ## The Text Editor Component
Expand Down
7 changes: 5 additions & 2 deletions cde-core/test-js/components/ViewManagerComponent-spec.js
Expand Up @@ -11,8 +11,11 @@
* the license for the specific language governing your rights and limitations.
*/

define(['cdf/Dashboard.Clean', 'cde/components/ViewManagerComponent', 'cdf/lib/jquery'],
function(Dashboard, ViewManagerComponent, $) {
define([
'cdf/Dashboard.Clean',
'cde/components/ViewManagerComponent',
'cdf/lib/jquery'
], function(Dashboard, ViewManagerComponent, $) {

/**
* ## The View Manager Component
Expand Down

0 comments on commit f1caf46

Please sign in to comment.