摘要: /* */ var arrayKeys = Object.getOwnPropertyNames(arrayMethods);//获取arrayMethods的属性名称 /** * By default, when a reactive property is set, the new value is//默认情况下,当一个响应的属性被设置,新的值也转换成响应的。然而当经过向下支撑时,我... 阅读全文
posted @ 2017-04-06 11:53 刘浩2561179983 阅读(1934) 评论(0) 推荐(0) 编辑
摘要: /* */ var uid$1 = 0; /** * A dep is an observable that can have multiple * directives subscribing() to it.//一个dep 是一个可观察到的,dep能有多样的订阅指示 */ var Dep = function Dep () { this.id = uid$1++; th... 阅读全文
posted @ 2017-04-06 10:49 刘浩2561179983 阅读(289) 评论(0) 推荐(0) 编辑
摘要: var _Set; /* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) { // use native Set when available.//当本地set有效时使用set _Set = Set; } else { // a non-standard Set polyfill that ... 阅读全文
posted @ 2017-04-06 10:18 刘浩2561179983 阅读(780) 评论(0) 推荐(0) 编辑
摘要: /* */ /* globals MutationObserver *///全局变化观察者 // can we use __proto__?//我们能用__proto__吗? var hasProto = '__proto__' in {}; // Browser environment sniffing//浏览器环境嗅探 var inBrowser = typeof window !==... 阅读全文
posted @ 2017-04-06 09:49 刘浩2561179983 阅读(720) 评论(0) 推荐(0) 编辑