Skip to content

Commit

Permalink
refs #19025, Google Closure Compiler upgrade: Removing duplicate obje…
Browse files Browse the repository at this point in the history
…ct keys
  • Loading branch information
sindilevich authored and dylans committed Aug 10, 2017
1 parent 8cf64ec commit 0006b77
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 56 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
html-report
sauce_connect.log
coverage-final.json
npm-debug.log
36 changes: 0 additions & 36 deletions charting/plot2d/commonStacked.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,42 +152,6 @@ define([

return values;
},

getIndexValue: function(series, i, index, isNullValue){
var value = 0, v, j;
for(j = 0; j <= i; ++j){
v = series[j].data[index];
if(!isNullValue(v)){
if(isNaN(v)){ v = v.y || 0; }
value += v;
}
}
return value;
},

getValue: function(series, i, x, isNullValue){
var value = null, j, z;
for(j = 0; j <= i; ++j){
for(z = 0; z < series[j].data.length; z++){
v = series[j].data[z];
if(!isNullValue(v)){
if(v.x == x){
if(!value){
value = {x: x};
}
if(v.y != null){
if(value.y == null){
value.y = 0;
}
value.y += v.y;
}
break;
}else if(v.x > x){break;}
}
}
}
return value;
},

getIndexValue: function(series, i, index, isNullValue){
var value = 0, v, j, pvalue;
Expand Down
1 change: 0 additions & 1 deletion grid/TreeGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ var TreePath = declare("dojox.grid.TreePath", null, {
grid: null,
store: null,
cell: null,
item: null,

constructor: function(/*String|Integer[]|Integer|dojox.grid.TreePath*/ path, /*dojox.grid.TreeGrid*/ grid){
if(lang.isString(path)){
Expand Down
1 change: 0 additions & 1 deletion grid/enhanced/nls/EnhancedGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ define({ root:
"he": true,
"hr": true,
"hu": true,
"hr": true,
"id": true,
"it": true,
"ja": true,
Expand Down
1 change: 0 additions & 1 deletion grid/enhanced/nls/Filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ define({ root:
"he": true,
"hr": true,
"hu": true,
"hr": true,
"id": true,
"it": true,
"ja": true,
Expand Down
1 change: 0 additions & 1 deletion grid/enhanced/nls/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ define({ root:
"he": true,
"hr": true,
"hu": true,
"hr": true,
"id": true,
"it": true,
"ja": true,
Expand Down
6 changes: 3 additions & 3 deletions highlight/languages/groovy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ define(["../_base"], function(dh){
'finally': 1, 'implements': 1, 'import': 1, 'extends': 1,
'long': 1, 'throw': 1, 'instanceof': 2, 'static': 1,
'protected': 1, 'boolean': 1, 'interface': 2, 'native': 1,
'if': 1, 'public': 1, 'new': 1, 'do': 1, 'return': 1,
'goto': 1, 'package': 2, 'void': 2, 'short': 1, 'else': 1,
'if': 1, 'public': 1, 'do': 1, 'return': 1,
'goto': 1, 'package': 2, 'void': 2, 'else': 1,
'break': 1, 'new': 1, 'strictfp': 1, 'super': 1, 'true': 1,
'class': 1, 'synchronized': 1, 'case': 1, 'this': 1, 'short': 1,
'class': 1, 'synchronized': 1, 'case': 1, 'short': 1,
'throws': 1, 'transient': 1, 'double': 1, 'volatile': 1,
'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'def': 2
}
Expand Down
6 changes: 3 additions & 3 deletions highlight/languages/java.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ define(["../_base"], function(dh){
'finally': 1, 'implements': 1, 'import': 1, 'extends': 1,
'long': 1, 'throw': 1, 'instanceof': 2, 'static': 1,
'protected': 1, 'boolean': 1, 'interface': 2, 'native': 1,
'if': 1, 'public': 1, 'new': 1, 'do': 1, 'return': 1,
'goto': 1, 'package': 2, 'void': 2, 'short': 1, 'else': 1,
'if': 1, 'public': 1, 'do': 1, 'return': 1,
'goto': 1, 'package': 2, 'void': 2, 'else': 1,
'break': 1, 'new': 1, 'strictfp': 1, 'super': 1, 'true': 1,
'class': 1, 'synchronized': 1, 'case': 1, 'this': 1, 'short': 1,
'class': 1, 'synchronized': 1, 'case': 1, 'short': 1,
'throws': 1, 'transient': 1, 'double': 1, 'volatile': 1,
'try': 1, 'this': 1, 'switch': 1, 'continue': 1
}
Expand Down
2 changes: 1 addition & 1 deletion highlight/languages/pygments/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ define(["../../_base"], function(dh){
"Array": 1, "Boolean": 1, "Date": 1, "Error": 1, "Function": 1, "Math": 1,
"netscape": 1, "Number": 1, "Object": 1, "Packages": 1, "RegExp": 1,
"String": 1, "sun": 1, "decodeURI": 1, "decodeURIComponent": 1,
"encodeURI": 1, "encodeURIComponent": 1, "Error": 1, "eval": 1,
"encodeURI": 1, "encodeURIComponent": 1, "eval": 1,
"isFinite": 1, "isNaN": 1, "parseFloat": 1, "parseInt": 1, "document": 1,
"window": 1
},
Expand Down
4 changes: 0 additions & 4 deletions mdnd/adapter/DndFromDojo.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ define(["dojo/_base/kernel",
// summary:
// Allow communication between Dojo dnd items and DojoX D&D areas

// dropIndicatorSize: Object
// size by default of dropIndicator (display only into a D&D Area)
dropIndicatorSize : {'w':0,'h':50},

// dropIndicatorSize: Object
// size by default of dropIndicator (display only into a D&D Area)
dropIndicatorSize: {'w':0,'h':50},
Expand Down
2 changes: 1 addition & 1 deletion rpc/tests/Yahoo.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ doh.register("dojox.rpc.tests.yahoo",
name: "#13, Yahoo Local::getCollection",
timeout: dojox.rpc.tests.yahooService.TEST_METHOD_LONG_TIMEOUT,
runTest: dojox.rpc.tests.yahooService._testMethod({
expectedResult: "getCollection",
name: "getCollection",
parameters: {collection_id: "1000031487"},
expectedResult: "Result"
})
Expand Down
4 changes: 0 additions & 4 deletions widget/FilePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ dojo.declare("dojox.widget._FileInfoPane",
// a pane to display the information for the currently-selected
// file

// templateString: string
// delete our template string
templateString: "",

// templateString: String
// The template to be used to construct the widget.
templateString: dojo.cache("dojox.widget", "FilePicker/_FileInfoPane.html"),
Expand Down

0 comments on commit 0006b77

Please sign in to comment.