我有带有迁移插件 1.2.1 的 superzied.js 3.2.7 和 jquery 1.10.1,在 firefox 中出现错误:
TypeError: api.getField(...) is undefined
这一行是:
if (api.getField('seed').indexOf('no_image.png') != -1) actual_width = '';
Chrome中的同样问题是:Uncaught TypeError: Cannot call method 'indexOf' of undefined.
我找到了这个,但我做的一切都是正确的:https ://github.com/buildinternet/supersized/issues/30