Skip to content

Commit

Permalink
Rename jabascripts to javascripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Morrison committed Sep 2, 2009
1 parent 6d89724 commit a379d5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/slidedown.rb
Expand Up @@ -79,7 +79,7 @@ def local_stylesheets
Dir[Dir.pwd + '/*.stylesheets']
end

def jabascripts
def javascripts
Dir[Dir.pwd + '/*.javascripts'].map { |path| File.read(path) }
end

Expand Down
4 changes: 2 additions & 2 deletions templates/default.erb
Expand Up @@ -19,9 +19,9 @@
<script type="text/javascript" charset="utf-8">
<%= read('javascripts/slides.js') %>
</script>
<% jabascripts.each do |jaba| %>
<% javascripts.each do |javascript| %>
<script type="text/javascript" charset="utf-8">
<%= jaba %>
<%= javascript %>
</script>
<% end %>
</head>
Expand Down

2 comments on commit a379d5b

@mislav
Copy link

@mislav mislav commented on a379d5b Sep 3, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nooo! I liked "jabascripts"; I even started to write and talk like that myself :(

@jasonm
Copy link
Contributor

@jasonm jasonm commented on a379d5b Sep 24, 2009

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wept a single, silent tear as I made this commit, but it is for the vitality of the nation. The nation of jabascripts.

Please sign in to comment.