fixes typo
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
App.Annotable =
|
||||
App.Annotatable =
|
||||
initialize: ->
|
||||
$("[data-annotable-type]").each ->
|
||||
$("[data-annotatable-type]").each ->
|
||||
$this = $(this)
|
||||
ann_type = $this.data("annotable-type")
|
||||
ann_id = $this.data("annotable-id")
|
||||
ann_type = $this.data("annotatable-type")
|
||||
ann_id = $this.data("annotatable-id")
|
||||
|
||||
app = new annotator.App()
|
||||
.include(annotator.ui.main, { element: this })
|
||||
@@ -33,7 +33,7 @@
|
||||
//= require tags
|
||||
//= require users
|
||||
//= require votes
|
||||
//= require annotable
|
||||
//= require annotatable
|
||||
|
||||
|
||||
var initialize_modules = function() {
|
||||
@@ -46,7 +46,7 @@ var initialize_modules = function() {
|
||||
App.CheckAllNone.initialize();
|
||||
App.PreventDoubleSubmission.initialize();
|
||||
App.IeAlert.initialize();
|
||||
App.Annotable.initialize();
|
||||
App.Annotatable.initialize();
|
||||
};
|
||||
|
||||
$(function(){
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<section data-annotable-type="legislation"
|
||||
data-annotable-id="<%= @legislation.id %>">
|
||||
<section data-annotatable-type="legislation"
|
||||
data-annotatable-id="<%= @legislation.id %>">
|
||||
|
||||
<div><%= @legislation.title %></div>
|
||||
<div id="test"><%= @legislation.body %></div>
|
||||
|
||||
Reference in New Issue
Block a user