$(function () { var observation = { init: function () { this.render();//断点:this bind :function() check_length: function () init: function () render: function () update_checked: function () save_observation: function () this.bind(); //断点: this bind :…
function inherit(p){ if(p == null) throw TypeError(); if(Object.create) return Object.create(p); var t = typeof p; if(t !== "object" && t !== "function") throw TypeError(); function f(){}; f.prototype = p ; return new f(); }; 创…