Skip to content

Commit

Permalink
ported CouchWiki to new style
Browse files Browse the repository at this point in the history
  • Loading branch information
beppu committed Feb 7, 2011
1 parent c3726c6 commit 9e66275
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eg/CouchWiki.pm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package CouchWiki;
use strict;
use warnings;
use base 'Squatting'; # TODO - no more use base
use Squatting;
use Coro::AnyEvent;

our %CONFIG = (
Expand Down Expand Up @@ -83,7 +83,6 @@ sub recent_changes {
package CouchWiki::Controllers;
use strict;
use warnings;
use Squatting ':controllers';
use AnyEvent::CouchDB;

*page = \&CouchWiki::Models::page;
Expand Down Expand Up @@ -128,7 +127,6 @@ our @C = (
package CouchWiki::Views;
use strict;
use warnings;
use Squatting ':views';
use HTML::AsSubs;

sub span { HTML::AsSubs::_elem('span', @_) }
Expand Down

0 comments on commit 9e66275

Please sign in to comment.