4
나는 Ryan의 Railscast 328 및 329과 함께 따라 왔습니다. bootstrap.js
에서 오는 그부트 스트랩에서 Sass Javascript 오류로 전환
Uncaught TypeError: Object [object Object] has no method 'popover'
: 나는 지금이 오류를 받고 있어요 329에서하는 부트 스트랩 - 말대꾸를 전환 할 때까지
상황이 좋은 일했다. bootstrap.js
는 버전 1.7.1 인 (jquery.js
후로드지고
내 application.js
파일 :.?
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require jquery_ujs
//= require bootstrap
//= require_tree .
내가 필요로 할 몇 가지 다른 파일이
감사
bootstrap-custom.js로 이름을 변경했습니다. 아직 오류가 발생했습니다. 잡히지 않은 TypeError : Object [object Object]에 'on'메서드가 없습니다. –
특히 bootstrap.js.coffee는 bootstrapify.js.coffee 또는 뭔가라고해야합니다. 비슷한. – wesgarrison