object-history:JavaScript 对象历史记录(撤销)

时间:2021-06-07 04:13:48
【文件属性】:
文件名称:object-history:JavaScript 对象历史记录(撤销)
文件大小:15KB
文件格式:ZIP
更新时间:2021-06-07 04:13:48
JavaScript 对象历史 JavaScript 对象历史 幕后花絮 对于克隆, 。 对于差异/应用,。 旧浏览器 使用es5-shim在 IE8 中工作。 也许IE7也是如此。 应用程序接口 产生实例 参数 initial {Object} : 初始历史点 options {对象} - limit {Number} :可选。 记住这么多落后点 例子 var History = require ( 'object-history' ) var initial = { foo : 'bar' , name : 'victoria' } var history = new History ( initial , { limit : 33 } ) 添加历史点对象 参数 obj {Object} : 历史点 例子 history . add ( { foo : 'bar' , bar : 'foo'
【文件预览】:
object-history-master
----.eslintrc(42B)
----VERSION(6B)
----lib()
--------prototype()
--------index.js(1KB)
----.verb.md(576B)
----.travis.yml(116B)
----package.js(842B)
----test()
--------unit()
----README.md(2KB)
----.editorconfig(174B)
----.gitignore(26B)

网友评论