我的控制台说:“Uncaught TypeError: Object [object Object] has no method 'tweet'”
我正在使用 jQuery 1.9.1 和 Twitter Bootstrap 2.3
我的暂存环境位于:http ://rsatestamls.kaliocommerce.com/
我的整个 JS 文件位于:http ://rsatestamls.kaliocommerce.com/Javascript/custom.js
我推特区的 JS 代码是:
// Twitter
$("#twitter").tweet({
join_text: "auto",
username: "amleonardinc", //replace this with your username
// modpath: './twitter/',
avatar_size: 32,
count: 3,
auto_join_text_default: "we said,",
auto_join_text_ed: "we",
auto_join_text_ing: "we were",
auto_join_text_reply: "we replied",
auto_join_text_url: "we were checking out",
loading_text: "loading tweets..."
});
})