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

Update "error" to "danger" #72

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2>
<a id="features" class="anchor" href="#features" aria-hidden="true"><span class="octicon octicon-link"></span></a>Features</h2>

<ul>
<li>Uses standard <a href="http://twitter.github.com/bootstrap/components.html#alerts">Twitter Bootstrap alerts</a> which provides 'info', 'error', and 'success' styles.</li>
<li>Uses standard <a href="http://twitter.github.com/bootstrap/components.html#alerts">Twitter Bootstrap alerts</a> which provides 'info', 'danger', and 'success' styles.</li>
<li>Multiple growls called consecutively are stacked up one after another in a list.</li>
<li>Automatically fades growls away after a default of 4 seconds.</li>
</ul>
Expand Down Expand Up @@ -73,7 +73,7 @@ <h2>

<div class="highlight highlight-javascript"><pre>$.bootstrapGrowl(<span class="pl-s1"><span class="pl-pds">"</span>another message, yay!<span class="pl-pds">"</span></span>, {
ele<span class="pl-k">:</span> <span class="pl-s1"><span class="pl-pds">'</span>body<span class="pl-pds">'</span></span>, <span class="pl-c">// which element to append to</span>
type<span class="pl-k">:</span> <span class="pl-s1"><span class="pl-pds">'</span>info<span class="pl-pds">'</span></span>, <span class="pl-c">// (null, 'info', 'error', 'success')</span>
type<span class="pl-k">:</span> <span class="pl-s1"><span class="pl-pds">'</span>info<span class="pl-pds">'</span></span>, <span class="pl-c">// (null, 'info', 'danger', 'success')</span>
offset<span class="pl-k">:</span> {from<span class="pl-k">:</span> <span class="pl-s1"><span class="pl-pds">'</span>top<span class="pl-pds">'</span></span>, amount<span class="pl-k">:</span> <span class="pl-c1">20</span>}, <span class="pl-c">// 'top', or 'bottom'</span>
align<span class="pl-k">:</span> <span class="pl-s1"><span class="pl-pds">'</span>right<span class="pl-pds">'</span></span>, <span class="pl-c">// ('left', 'right', or 'center')</span>
width<span class="pl-k">:</span> <span class="pl-c1">250</span>, <span class="pl-c">// (integer, or 'auto')</span>
Expand Down