Fehler: Uncaught TypeError: Cannot read property 'Konstruktor' undefined bootstrap-popover.js

Ich würde gerne twitter-bootstrap manuell, auf meinem rails Projekt.
Aber ich habe diesen Fehler, und einige Funktionen von bootstrap nicht funktioniert.

Wenn Sie mir helfen, ich weiß es zu schätzen. Danke.

Fehler auf der Konsole

Uncaught TypeError: Cannot read property 'Konstruktor' undefined bootstrap-popover.js:38
(anonyme Funktion) bootstrap-popover.js:38
(anonyme Funktion) bootstrap-popover.js:115

app/view/app/index.html-Code.erb

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<%= stylesheet_link_tag    "bootstrap" %>
<%= stylesheet_link_tag    "bootstrap-responsive" %>

<%= javascript_include_tag "jquery" %>
<%= javascript_include_tag "bootstrap" %>
<%= javascript_include_tag "bootstrap-transition" %>
<%= javascript_include_tag "bootstrap-alert" %>
<%= javascript_include_tag "bootstrap-modal" %>
<%= javascript_include_tag "bootstrap-dropdown" %>
<%= javascript_include_tag "bootstrap-scrollspy" %>
<%= javascript_include_tag "bootstrap-tab" %>
<%= javascript_include_tag "bootstrap-tooltip" %>
<%= javascript_include_tag "bootstrap-popover" %>
<%= javascript_include_tag "bootstrap-button" %>
<%= javascript_include_tag "bootstrap-collapse" %>
<%= javascript_include_tag "bootstrap-carousel" %>
<%= javascript_include_tag "bootstrap-typeahead" %>

<!-- as example, which doesn't work, somehow  -->
<i class="icon-search icon-home"></i>

Glaube ich, alles notwendige in die js und css Dateien sind in

  • ./app/assets/images
  • ./app/assets/javascripts
  • ./app/assets/stylesheets

InformationsquelleAutor wiz | 2013-01-02

Schreibe einen Kommentar