coding standards: replace 'new Array()' with '[]'
This commit is contained in:
@@ -77,7 +77,7 @@ OpenLayers.Layer.FixedZoomLevels = OpenLayers.Class({
|
||||
*/
|
||||
initResolutions: function() {
|
||||
|
||||
var props = new Array('minZoomLevel', 'maxZoomLevel', 'numZoomLevels');
|
||||
var props = ['minZoomLevel', 'maxZoomLevel', 'numZoomLevels'];
|
||||
|
||||
for(var i=0, len=props.length; i<len; i++) {
|
||||
var property = props[i];
|
||||
|
||||
Reference in New Issue
Block a user