Skip to content

Commit

Permalink
Fixes typos
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Apr 11, 2012
1 parent 28b660f commit f468170
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/backbone/helpers/users.js.coffee
@@ -1,3 +1,3 @@
class Kandan.Helpers.Users
@currentUser: ()->
$.data(document, 'current_user')
$.data(document, 'current-user')
Expand Up @@ -6,6 +6,6 @@ class Kandan.Plugins.MeAnnounce
@init: ()->
Kandan.Modifiers.register @options.regex, (message, state)=>
message.content = message.content.replace @options.regex, "#{message.user.first_name} "
return Kandan.Helpers.Activities.build_from_base_template(message)
return Kandan.Helpers.Activities.buildFromBaseTemplate(message)

# Kandan.Plugins.register "Kandan.Plugins.MeAnnounce"
7 changes: 2 additions & 5 deletions app/views/layouts/application.html.erb
Expand Up @@ -21,14 +21,11 @@
:gravatar_hash => current_user.gravatar_hash
}
%>
$.data(document, 'current_user', <%= current_user_data.to_json.html_safe %>);
$.data(document, "current-user", <%= current_user_data.to_json.html_safe %>);
<%- end %>
$(document).data("active-users", [])
<%- end %>
<%= javascript_tag do %>
$(document).data('active_users', [])
<%- end %>
<%= csrf_meta_tags %>
</head>
<body>
Expand Down

0 comments on commit f468170

Please sign in to comment.