Permalink
Browse files

Linting: cleanup unused variable warnings

  • Loading branch information...
nschonni committed Sep 10, 2013
1 parent c5f2231 commit 4ba69768037d21394526ed0c92052272899dd50b
@@ -9,16 +9,13 @@
/*
* Charts for WET 3.x
*/
/*global jQuery: false, pe:false, wet_boew_charts: false, Raphael: false*/
/*global jQuery: false, wet_boew_charts: false, Raphael: false*/
(function ($) {
"use strict";
var _pe = window.pe || {
fn: {}
}; /* local reference */
_pe.fn.chartsGraph = {
// type: 'plugin',
// depends: ['raphael', 'parserTable'],
// polyfills: ['detailssummary'],
generate: function (elm) {
var options = {},
o,
@@ -309,7 +306,6 @@
var currPosition = 1,
currRowPos = 1,
currColPos = 0,
currRowPos2 = 0,
legendGenerated = false;
$.each(charts.circleGraph.series.series, function () {
var chartsLabels = [],
@@ -1655,7 +1651,6 @@
var currentSerieLevel = 0,
CurrColPosition = 0,
CurrentGroupingID = 0,
arrAllCell = $(this).children(),
cellOrdered = [],
cellHeadingOrdered = [],
serieHeaderText = '', // That would contain the current on process serie header
@@ -1691,9 +1686,8 @@
// Get the Row heading Width
$('th, td', this).each(function () {
parser.cellID += 1;
var IgnoreCurrentCell = false, // TODO check if wet-graph-ignore class is set, if yes use the cell value data as non numerical data
// Get the cell Value
cellValueObj = parser.getCellValue($(this).text()),
var cellValueObj = parser.getCellValue($(this).text()),
cellInfo = {
id : parser.cellID,
isHeader: false,
@@ -2507,9 +2501,8 @@ label:
}
if (!this.isRejected) {
fullSerieRejected = false;
var isCumulative = false,
// Get the param for the appropriate designer heading level
SerieObj = {},
var SerieObj = {},
MasterSeriesCell = [],
GraphType = '';
if (this.cellHeading.length > DesignerHeadingLevel) {
@@ -1071,8 +1071,7 @@
};
fnParseSpannedRowCell = function () {
var i,
j,
var j,
currCell;
// Check for spanned row
View
@@ -9,8 +9,8 @@
/*
----- @%lang-eng@ dictionary (il8n) ---
*/
/*global jQuery: false, pe: false */
(function ($) {
(function () {
"use strict";
var _pe = window.pe || {
fn: {}
@@ -156,4 +156,4 @@
_pe.document.trigger('languageloaded');
window.pe = _pe;
return _pe;
}(jQuery));
}());
View
@@ -9,6 +9,8 @@
/*
WET-BOEW-Settings
*/
/* exported wet_boew_properties, wet_boew_share */
var wet_boew_properties = {
/** global plugins are called via a array of dependency names **/
"globals" : ["equalize", "deselectradio", "css3ie"]
View
@@ -5,8 +5,8 @@
/*
* Chart for WET 3.0
*/
/*global jQuery: false, pe:false, wet_boew_charts: false, Raphael: false*/
(function ($) {
(function () {
"use strict";
var _pe = window.pe || {
fn: {}
@@ -21,4 +21,4 @@
};
window.pe = _pe;
return _pe;
}(jQuery));
}());
@@ -5,8 +5,8 @@
/*
* Deselectable radio buttons plugin
*/
/*global jQuery: false*/
(function ($) {
(function () {
"use strict";
var _pe = window.pe || {
fn : {}
@@ -57,4 +57,4 @@
window.pe = _pe;
return _pe;
}
(jQuery));
());
@@ -5,8 +5,8 @@
/*
* Text highlighting functionality
*/
/*global jQuery: false, pe: false*/
(function ($) {
/*global pe: false*/
(function () {
"use strict";
var _pe = window.pe || {
fn: {}
@@ -59,4 +59,4 @@
};
window.pe = _pe;
return _pe;
}(jQuery));
}());

0 comments on commit 4ba6976

Please sign in to comment.