Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix a few typos (closes #909)
  • Loading branch information
kraih committed Feb 15, 2016
1 parent 6a68561 commit 1650388
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

6.47 2016-02-14
6.47 2016-02-15

6.46 2016-02-13
- Improved Mojo::Headers performance. (batman)
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Base.pm
Expand Up @@ -36,7 +36,7 @@ sub attr {
for my $attr (@{ref $attrs eq 'ARRAY' ? $attrs : [$attrs]}) {
Carp::croak qq{Attribute "$attr" invalid} unless $attr =~ /^[a-zA-Z_]\w*$/;

# Very performance sensitive code with lots of micro-optimizations
# Very performance-sensitive code with lots of micro-optimizations
if (ref $value) {
_monkey_patch $class, $attr, sub {
return
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/dom.t
Expand Up @@ -2250,7 +2250,7 @@ is $dom->at('textarea')->val, 'M', 'right value';
is $dom->at('button')->val, 'O', 'right value';
is $dom->find('form input')->last->val, 'P', 'right value';

# PoCo example with whitespace sensitive text
# PoCo example with whitespace-sensitive text
$dom = Mojo::DOM->new(<<EOF);
<?xml version="1.0" encoding="UTF-8"?>
<response>
Expand Down

0 comments on commit 1650388

Please sign in to comment.