Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5966069
foundation.alert.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
foundation.alert.js
View Options
;(
function
(
$
,
window
,
document
,
undefined
)
{
'use strict'
;
Foundation
.
libs
.
alert
=
{
name
:
'alert'
,
version
:
'5.5.3'
,
settings
:
{
callback
:
function
()
{}
},
init
:
function
(
scope
,
method
,
options
)
{
this
.
bindings
(
method
,
options
);
},
events
:
function
()
{
var
self
=
this
,
S
=
this
.
S
;
$
(
this
.
scope
).
off
(
'.alert'
).
on
(
'click.fndtn.alert'
,
'['
+
this
.
attr_name
()
+
'] .close'
,
function
(
e
)
{
var
alertBox
=
S
(
this
).
closest
(
'['
+
self
.
attr_name
()
+
']'
),
settings
=
alertBox
.
data
(
self
.
attr_name
(
true
)
+
'-init'
)
||
self
.
settings
;
e
.
preventDefault
();
if
(
Modernizr
.
csstransitions
)
{
alertBox
.
addClass
(
'alert-close'
);
alertBox
.
on
(
'transitionend webkitTransitionEnd oTransitionEnd'
,
function
(
e
)
{
S
(
this
).
trigger
(
'close.fndtn.alert'
).
remove
();
settings
.
callback
();
});
}
else
{
alertBox
.
fadeOut
(
300
,
function
()
{
S
(
this
).
trigger
(
'close.fndtn.alert'
).
remove
();
settings
.
callback
();
});
}
});
},
reflow
:
function
()
{}
};
}(
jQuery
,
window
,
window
.
document
));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 11:22 (5 d, 4 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fb/c7/b952f1220dd5f6f4b257cec34eb6
Default Alt Text
foundation.alert.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment