<%-@remark%>
<%= @label %>
Description: <%- @desc %>
<% if @defaultValue :%> Default: <%= @defaultValue %>
Parameters:
<%for p in @params:%><% else :%>@<%=p.name%>
<%end%>{<%=p.type%>}
<%-p.desc%>
Parameters: none
<% end %> <%end%> <% if @return :%>Returns:
<%end%><%=@return%>
<% if typeof @script == 'string' :%> <%- @script %> <% else :%> <%for line in @script:%><%-line+'\n'%> <%end%> <% end %>
<% if @exec != false :%>
<% end %>
//get the closable setting value.
var closable = alertify.alert().setting('closable');
//grab the dialog instance using its parameter-less constructor then set multiple settings at once.
alertify.alert()
.setting({
'label':'Agree',
'message': 'This dialog is : ' + (closable ? ' ' : ' not ') + 'closable.' ,
'onok': function(){ alertify.success('Great');}
}).show();