Magento JavaScript错误:TypeError:source不是对象

时间:2014-05-27 14:39:55

标签: javascript jquery magento prototypejs

我在Magento中遇到JavaScript错误:

TypeError: source is not an object
properties = Object.keys(source);

我正在尝试使用jQuery,并且我正在使用noConflict(),因此它不会与ProtoType发生冲突,如下所示:

jQuery.noConflict();

(function($) {

    // jQuery code here.

})(jQuery);

我是Magento的新手,从未使用过ProtoType。可能导致这个问题的原因是什么?

以下是一些可能有助于调试此问题的屏幕截图:

enter image description here

enter image description here

对此的任何帮助将不胜感激。

非常感谢, 迈克尔。

0 个答案:

没有答案