Ticket #3470 (closed feature: fixed)
OpenLayers.Layer.HTTPRequest initialize simplification
| Reported by: | fredj | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | 2.11 Release |
| Component: | general | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Pullup |
Description
in initialize we currently have:
initialize: function(name, url, params, options) {
var newArguments = arguments;
newArguments = [name, options];
OpenLayers.Layer.prototype.initialize.apply(this, newArguments);
...
could it be replaced with:
initialize: function(name, url, params, options) {
OpenLayers.Layer.prototype.initialize.apply(this, [name, options]);
...
or do I miss something?
Change History
Note: See
TracTickets for help on using
tickets.
