Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod Clarification #1

Closed
ravenhall opened this issue Dec 12, 2013 · 1 comment
Closed

Pod Clarification #1

ravenhall opened this issue Dec 12, 2013 · 1 comment

Comments

@ravenhall
Copy link

In your POD, shouldn't this:

# load plugin, alerts are dismissable by default
$self->plugin( 'Bootstrap' );

be this:

# load plugin, alerts are dismissable by default
$self->plugin( 'BootstrapAlerts' );

Also, in the Configuration section:

$self->plugin( 'Bootstrap' => {
  dismissable => 0,          # notifications aren't dismissable by default anymore
  auto_inject => 1,          # inject notifications into your HTML output, no need for "notifications()" anymore
  after       => $selector,  # CSS selector to find the element after that the notifications should be injected
  before      => $selector,  # CSS selector to find the element before that the notifications should be injected
  });

shouldn't this be:

$self->plugin( 'BootstrapAlerts' => {
  dismissable => 0,          # notifications aren't dismissable by default anymore
  auto_inject => 1,          # inject notifications into your HTML output, no need for "notifications()" anymore
  after       => $selector,  # CSS selector to find the element after that the notifications should be injected
  before      => $selector,  # CSS selector to find the element before that the notifications should be injected
});
@reneeb reneeb closed this as completed in d3ad0be Dec 12, 2013
@reneeb
Copy link
Owner

reneeb commented Dec 12, 2013

Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants