0
jQuery砌體不與jQuery一起使用,但使用JavaScript。你能告訴我爲什麼嗎?砌體不與jQuery一起工作
當我給這個代碼:
console.log(typeof $.masonry)
顯示 「未定義」
但是,如果我給這個代碼:
console.log(Masonry)
顯示:
function n(){y.apply(this,arguments)}
jQuery砌體不與jQuery一起使用,但使用JavaScript。你能告訴我爲什麼嗎?砌體不與jQuery一起工作
當我給這個代碼:
console.log(typeof $.masonry)
顯示 「未定義」
但是,如果我給這個代碼:
console.log(Masonry)
顯示:
function n(){y.apply(this,arguments)}
Wihtout傳球正確的論點o R的情況下選擇它不會顯示actualy類型(因爲實際工作選擇缺失) 與
typeof $('selector').masonry
但我怎麼能確定石工可用? –
也嘗試將其與嘗試:執行console.log(typeof運算jQuery.masonry) –