Skip to content

Commit a5be277

Browse files
committed
Rebuild 3.0.2
1 parent 7c8b95d commit a5be277

File tree

7 files changed

+90
-86
lines changed

7 files changed

+90
-86
lines changed

dist/echarts.common.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -856,20 +856,21 @@ define('echarts/util/clazz',['require','zrender/core/util'],function (require) {
856856
* @param {string|Array.<string>} properties
857857
*/
858858
clazz.setReadOnly = function (obj, properties) {
859-
if (!zrUtil.isArray(properties)) {
860-
properties = properties != null ? [properties] : [];
861-
}
862-
zrUtil.each(properties, function (prop) {
863-
var value = obj[prop];
864-
865-
Object.defineProperty
866-
&& Object.defineProperty(obj, prop, {
867-
value: value, writable: false
868-
});
869-
zrUtil.isArray(obj[prop])
870-
&& Object.freeze
871-
&& Object.freeze(obj[prop]);
872-
});
859+
// FIXME It seems broken in IE8 simulation of IE11
860+
// if (!zrUtil.isArray(properties)) {
861+
// properties = properties != null ? [properties] : [];
862+
// }
863+
// zrUtil.each(properties, function (prop) {
864+
// var value = obj[prop];
865+
866+
// Object.defineProperty
867+
// && Object.defineProperty(obj, prop, {
868+
// value: value, writable: false
869+
// });
870+
// zrUtil.isArray(obj[prop])
871+
// && Object.freeze
872+
// && Object.freeze(obj[prop]);
873+
// });
873874
};
874875

875876
return clazz;

dist/echarts.common.min.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/echarts.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -856,20 +856,21 @@ define('echarts/util/clazz',['require','zrender/core/util'],function (require) {
856856
* @param {string|Array.<string>} properties
857857
*/
858858
clazz.setReadOnly = function (obj, properties) {
859-
if (!zrUtil.isArray(properties)) {
860-
properties = properties != null ? [properties] : [];
861-
}
862-
zrUtil.each(properties, function (prop) {
863-
var value = obj[prop];
864-
865-
Object.defineProperty
866-
&& Object.defineProperty(obj, prop, {
867-
value: value, writable: false
868-
});
869-
zrUtil.isArray(obj[prop])
870-
&& Object.freeze
871-
&& Object.freeze(obj[prop]);
872-
});
859+
// FIXME It seems broken in IE8 simulation of IE11
860+
// if (!zrUtil.isArray(properties)) {
861+
// properties = properties != null ? [properties] : [];
862+
// }
863+
// zrUtil.each(properties, function (prop) {
864+
// var value = obj[prop];
865+
866+
// Object.defineProperty
867+
// && Object.defineProperty(obj, prop, {
868+
// value: value, writable: false
869+
// });
870+
// zrUtil.isArray(obj[prop])
871+
// && Object.freeze
872+
// && Object.freeze(obj[prop]);
873+
// });
873874
};
874875

875876
return clazz;

dist/echarts.min.js

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/echarts.simple.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -856,20 +856,21 @@ define('echarts/util/clazz',['require','zrender/core/util'],function (require) {
856856
* @param {string|Array.<string>} properties
857857
*/
858858
clazz.setReadOnly = function (obj, properties) {
859-
if (!zrUtil.isArray(properties)) {
860-
properties = properties != null ? [properties] : [];
861-
}
862-
zrUtil.each(properties, function (prop) {
863-
var value = obj[prop];
864-
865-
Object.defineProperty
866-
&& Object.defineProperty(obj, prop, {
867-
value: value, writable: false
868-
});
869-
zrUtil.isArray(obj[prop])
870-
&& Object.freeze
871-
&& Object.freeze(obj[prop]);
872-
});
859+
// FIXME It seems broken in IE8 simulation of IE11
860+
// if (!zrUtil.isArray(properties)) {
861+
// properties = properties != null ? [properties] : [];
862+
// }
863+
// zrUtil.each(properties, function (prop) {
864+
// var value = obj[prop];
865+
866+
// Object.defineProperty
867+
// && Object.defineProperty(obj, prop, {
868+
// value: value, writable: false
869+
// });
870+
// zrUtil.isArray(obj[prop])
871+
// && Object.freeze
872+
// && Object.freeze(obj[prop]);
873+
// });
873874
};
874875

875876
return clazz;

dist/echarts.simple.min.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/util/clazz.js

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,21 @@ define(function (require) {
194194
* @param {string|Array.<string>} properties
195195
*/
196196
clazz.setReadOnly = function (obj, properties) {
197-
if (!zrUtil.isArray(properties)) {
198-
properties = properties != null ? [properties] : [];
199-
}
200-
zrUtil.each(properties, function (prop) {
201-
var value = obj[prop];
202-
203-
Object.defineProperty
204-
&& Object.defineProperty(obj, prop, {
205-
value: value, writable: false
206-
});
207-
zrUtil.isArray(obj[prop])
208-
&& Object.freeze
209-
&& Object.freeze(obj[prop]);
210-
});
197+
// FIXME It seems broken in IE8 simulation of IE11
198+
// if (!zrUtil.isArray(properties)) {
199+
// properties = properties != null ? [properties] : [];
200+
// }
201+
// zrUtil.each(properties, function (prop) {
202+
// var value = obj[prop];
203+
204+
// Object.defineProperty
205+
// && Object.defineProperty(obj, prop, {
206+
// value: value, writable: false
207+
// });
208+
// zrUtil.isArray(obj[prop])
209+
// && Object.freeze
210+
// && Object.freeze(obj[prop]);
211+
// });
211212
};
212213

213214
return clazz;

0 commit comments

Comments
 (0)