diff --git a/DESIGN b/DESIGN
index c15155b..3701187 100644
--- a/DESIGN
+++ b/DESIGN
@@ -42,7 +42,7 @@ $module_path. Returns 1 if successful, undef if error.
- Jemplate->compile_module_cached($module_path, \@template_file_paths);
Similar to `compile_module`, but only compiles if one of the templates
-is newer than the module. Returns 1 if sucessful compile, 0 if no
+is newer than the module. Returns 1 if successful compile, 0 if no
compile due to cache, undef if error.
diff --git a/README b/README
index 084346f..6e0aa54 100644
--- a/README
+++ b/README
@@ -75,7 +75,7 @@ PUBLIC API
The "template-name" is a string like 'body.html' that is the name of
the top level template that you wish to process.
- The optional "data" specififies the data object to be used by the
+ The optional "data" specifies the data object to be used by the
templates. It can be an object, a function or a url. If it is an
object, it is used directly. If it is a function, the function is
called and the returned object is used. If it is a url, an
@@ -110,7 +110,7 @@ PUBLIC API
Jemplate->compile_module_cached($module_path, \@template_file_paths);
Similar to `compile_module`, but only compiles if one of the
- templates is newer than the module. Returns 1 if sucessful compile,
+ templates is newer than the module. Returns 1 if successful compile,
0 if no compile due to cache, undef if error.
AJAX AND JSON METHODS
diff --git a/bin/jemplate b/bin/jemplate
index 084e08f..18e7e1c 100644
--- a/bin/jemplate
+++ b/bin/jemplate
@@ -9,6 +9,10 @@ use Jemplate 0.22;
Jemplate->main(@ARGV);
+__END__
+
+=encoding UTF-8
+
=head1 Usage:
jemplate --runtime [runtime-opt]
diff --git a/doc/html/Jemplate.html b/doc/html/Jemplate.html
index 47dcc02..307e442 100644
--- a/doc/html/Jemplate.html
+++ b/doc/html/Jemplate.html
@@ -107,7 +107,7 @@
the top level template that you wish to process.
-The optional data
specififies the data object to be used by the
+
The optional data
specifies the data object to be used by the
templates. It can be an object, a function or a url. If it is an object,
it is used directly. If it is a function, the function is called and the
returned object is used. If it is a url, an asynchronous <Ajax.get> is
@@ -157,7 +157,7 @@
Similar to `compile_module`, but only compiles if one of the templates
-is newer than the module. Returns 1 if sucessful compile, 0 if no
+is newer than the module. Returns 1 if successful compile, 0 if no
compile due to cache, undef if error.
diff --git a/doc/text/Jemplate.text b/doc/text/Jemplate.text
index f61f477..1991450 100644
--- a/doc/text/Jemplate.text
+++ b/doc/text/Jemplate.text
@@ -71,7 +71,7 @@ PUBLIC API
The "template-name" is a string like 'body.html' that is the name of
the top level template that you wish to process.
- The optional "data" specififies the data object to be used by the
+ The optional "data" specifies the data object to be used by the
templates. It can be an object, a function or a url. If it is an
object, it is used directly. If it is a function, the function is
called and the returned object is used. If it is a url, an
@@ -106,7 +106,7 @@ PUBLIC API
Jemplate->compile_module_cached($module_path, \@template_file_paths);
Similar to `compile_module`, but only compiles if one of the
- templates is newer than the module. Returns 1 if sucessful compile,
+ templates is newer than the module. Returns 1 if successful compile,
0 if no compile due to cache, undef if error.
AJAX AND JSON METHODS
@@ -204,14 +204,14 @@ CREDIT
them ;)
AUTHORS
- Ingy döt Net
+ Ingy döt Net
(Note: I had to list myself first so that this line would go into
META.yml)
Jemplate is truly a community authored project:
- Ingy döt Net
+ Ingy döt Net
Tatsuhiko Miyagawa
@@ -230,7 +230,7 @@ AUTHORS
Robert Krimen
COPYRIGHT
- Copyright (c) 2006-2008. Ingy döt Net.
+ Copyright (c) 2006-2008. Ingy döt Net.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff --git a/jemplate b/jemplate
index b7a828b..8483bf4 100755
--- a/jemplate
+++ b/jemplate
@@ -20334,6 +20334,10 @@ if (typeof(Jemplate) == 'undefined')
Jemplate->main(@ARGV);
+__END__
+
+=encoding UTF-8
+
=head1 Usage:
jemplate --runtime [runtime-opt]
diff --git a/lib/Jemplate.pm b/lib/Jemplate.pm
index 8a2c3b0..2cb9d4b 100644
--- a/lib/Jemplate.pm
+++ b/lib/Jemplate.pm
@@ -415,6 +415,10 @@ if (typeof(Jemplate) == 'undefined')
1;
+__END__
+
+=encoding UTF-8
+
=head1 SYNOPSIS
var data = Ajax.get('url/data.json');
@@ -496,7 +500,7 @@ The Jemplate.js JavaScript runtime module has the following API method:
The C is a string like C<'body.html'> that is the name of
the top level template that you wish to process.
-The optional C specififies the data object to be used by the
+The optional C specifies the data object to be used by the
templates. It can be an object, a function or a url. If it is an object,
it is used directly. If it is a function, the function is called and the
returned object is used. If it is a url, an asynchronous is
@@ -539,7 +543,7 @@ $module_path. Returns 1 if successful, undef if error.
=item Jemplate->compile_module_cached($module_path, \@template_file_paths);
Similar to `compile_module`, but only compiles if one of the templates
-is newer than the module. Returns 1 if sucessful compile, 0 if no
+is newer than the module. Returns 1 if successful compile, 0 if no
compile due to cache, undef if error.
=back
diff --git a/lib/Jemplate/Directive.pm b/lib/Jemplate/Directive.pm
index 3a97d89..e081c44 100644
--- a/lib/Jemplate/Directive.pm
+++ b/lib/Jemplate/Directive.pm
@@ -717,6 +717,10 @@ BEGIN {
1;
+__END__
+
+=encoding UTF-8
+
=head1 NAME
Jemplate::Directive - Jemplate Code Generating Backend
diff --git a/lib/Jemplate/Parser.pm b/lib/Jemplate/Parser.pm
index 2f9470a..f7d581b 100644
--- a/lib/Jemplate/Parser.pm
+++ b/lib/Jemplate/Parser.pm
@@ -29,6 +29,10 @@ sub new {
1;
+__END__
+
+=encoding UTF-8
+
=head1 NAME
Jemplate::Parser - Jemplate Parser Subclass
diff --git a/lib/Jemplate/Runtime.pm b/lib/Jemplate/Runtime.pm
index b951f29..c296e0e 100644
--- a/lib/Jemplate/Runtime.pm
+++ b/lib/Jemplate/Runtime.pm
@@ -2797,6 +2797,10 @@ function JJJ(obj) {
1;
+__END__
+
+=encoding UTF-8
+
=head1 NAME
Jemplate::Runtime - Perl Module containing the Jemplate JavaScript Runtime
diff --git a/lib/Jemplate/Runtime/Compact.pm b/lib/Jemplate/Runtime/Compact.pm
index e5fc58a..9a78ca1 100644
--- a/lib/Jemplate/Runtime/Compact.pm
+++ b/lib/Jemplate/Runtime/Compact.pm
@@ -79,6 +79,10 @@ function XXX(A){if(!confirm(A)){throw ("terminated...")}return A}function JJJ(A)
1;
+__END__
+
+=encoding UTF-8
+
=head1 NAME
Jemplate::Runtime - Perl Module containing the Jemplate JavaScript Runtime
diff --git a/src/lib/Jemplate/Runtime.pm b/src/lib/Jemplate/Runtime.pm
index d7a12c3..3d589b3 100644
--- a/src/lib/Jemplate/Runtime.pm
+++ b/src/lib/Jemplate/Runtime.pm
@@ -79,6 +79,10 @@ sub xxx {
1;
+__END__
+
+=encoding UTF-8
+
=head1 NAME
Jemplate::Runtime - Perl Module containing the Jemplate JavaScript Runtime
diff --git a/src/lib/Jemplate/Runtime/Compact.pm b/src/lib/Jemplate/Runtime/Compact.pm
index 2b3071f..31e44b4 100644
--- a/src/lib/Jemplate/Runtime/Compact.pm
+++ b/src/lib/Jemplate/Runtime/Compact.pm
@@ -79,6 +79,10 @@ sub xxx {
1;
+__END__
+
+=encoding UTF-8
+
=head1 NAME
Jemplate::Runtime - Perl Module containing the Jemplate JavaScript Runtime
diff --git a/tests/bin/daemon b/tests/bin/daemon
index e3df34f..4c1a23d 100755
--- a/tests/bin/daemon
+++ b/tests/bin/daemon
@@ -98,6 +98,8 @@ while ( my $connection = $daemon->accept ) {
__END__
+=encoding UTF-8
+
=head1 NAME
daemon - Jemplate test daemon