宝石'backstretch-rails'和rails

时间:2013-12-13 18:55:55

标签: jquery ruby-on-rails

我在这里有点丢失,我安装了backstretch-rails'宝石,当我尝试使用它时我得到了这个错误

TypeError: Object function (t,e){return new ce.fn.init(t,e,K)} has no method 'backstretch'

message: "Object function (t,e){return new ce.fn.init(t,e,K)} has no method 'backstretch'
stack: (...)
get stack: function () { [native code] }
set stack: function () { [native code] }
__proto__: Error`

我使用

获得了错误
jQuery.backstretch("path_to_photo")

$.backstretch("path_to_photo")

我正在使用jQuery JavaScript Library v1.10.0和Backstretch - v2.0.4

0 个答案:

没有答案