Skip to content

Commit

Permalink
use -signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Oct 31, 2018
1 parent c83bf85 commit d8ef30f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
3 changes: 1 addition & 2 deletions ex/mojo_basic_chat.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use Mojolicious::Lite;
use experimental 'signatures';
use Mojolicious::Lite -signatures;

get '/' => 'chat';

Expand Down
3 changes: 1 addition & 2 deletions ex/mojo_pg_chat.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use Mojolicious::Lite;
use Mojolicious::Lite -signatures;
use Mojo::Pg;
use experimental 'signatures';

get '/' => 'chat';

Expand Down
3 changes: 1 addition & 2 deletions ex/vue_chat.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use Mojolicious::Lite;
use Mojolicious::Lite -signatures;
use Mojo::Pg;
use experimental 'signatures';

helper pg => sub { state $pg = Mojo::Pg->new('postgresql://test:test@/test') };

Expand Down
3 changes: 1 addition & 2 deletions ex/vue_chat_comp.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use Mojolicious::Lite;
use Mojolicious::Lite -signatures;
use Mojo::Pg;
use experimental 'signatures';

helper pg => sub { state $pg = Mojo::Pg->new('postgresql://test:test@/test') };

Expand Down
3 changes: 1 addition & 2 deletions ex/vue_chat_user.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use Mojolicious::Lite;
use Mojolicious::Lite -signatures;
use Mojo::Pg;
use experimental 'signatures';

helper pg => sub { state $pg = Mojo::Pg->new('postgresql://test:test@/test') };

Expand Down
5 changes: 2 additions & 3 deletions templates/presentation.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
<li>Client Framework (<a href="https://vuejs.org/">Vue.js</a>)</li>
<li>Message Broker (<a href="https://www.postgresql.org/">PostgreSQL</a>)</li>
<li>Keep it small</li>
<li>Use experimental signatures</li>
<li>Build it incrementally</li>
</ul>
</section>
Expand Down Expand Up @@ -246,8 +245,8 @@
</section>

<section>
<p>That's 47 lines</p>
<p>(generated using David A. Wheeler's 'SLOCCount')</p>
<h2>That's 46 lines</h2>
<p><small>(generated using David A. Wheeler's 'SLOCCount')</small></p>
</section>

<section>
Expand Down

0 comments on commit d8ef30f

Please sign in to comment.