regularjs/regular

firefox下调用extend传入对象含特定的属性会报错

Closed this issue · 0 comments

如下代码会在firefox下报错

Regular.extend({
	config:function(data){
						
	},
	watch:function () {

	}
});

firefox的Object的prototype中有watch这个属性,extend.js的hooks属性判断还不够严谨