Revert "Fixing the extend method to work on IE."
This reverts commit 71276b5323.
This commit is contained in:
1 parent
6712dd9680
commit
161b54b6f1
2 files changed
+2
-26
No files matched your search
@@ -91,7 +91,7 @@ OpenLayers.Util.extend = function(destination, source) {
|
||||
destination = destination || {};
|
||||
if (source) {
|
||||
for (var property in source) {
|
||||
if (Object.prototype.hasOwnProperty.call(source, property)) {
|
||||
if (source.hasOwnProperty(property)) {
|
||||
var value = source[property];
|
||||
if (value !== undefined) {
|
||||
destination[property] = value;
|
||||
|
||||
Reference in new issue
Block a user