1
此页面上 http://entropy.tmok.com/~gauze/canvas/load.html装载抛出异常
我得到的错误:类型错误:this._createNode不是一个函数
它涉及到这个功能:
Kinetic.Node.create = function(json, container) {
return this._createNode(JSON.parse(json), container);
};
我正在使用的json字符串是从stage.toJSON()调用粘贴的副本,当我在上面的函数中断时,this
的值是根据萤火虫的“Window load.html”。
任何帮助?