fixes typo

This commit is contained in:
rgarcia
2015-12-16 19:29:03 +01:00
parent 61357afba7
commit 04ab0af8a3
3 changed files with 8 additions and 8 deletions

View File

@@ -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 })

View File

@@ -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(){

View File

@@ -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>