features, bug fixes
This commit is contained in:
@@ -1,24 +1,45 @@
|
||||
$(function(){
|
||||
$('.flash').click(function(){
|
||||
$('.flash').animate({
|
||||
opacity: 0
|
||||
}, 'fast', function(){
|
||||
$(this).animate({
|
||||
height: 0
|
||||
}, 'slow', function(){
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
$('.flash').click(function(){
|
||||
$('.flash').animate({
|
||||
opacity: 0
|
||||
}, 'fast', function(){
|
||||
$(this).animate({
|
||||
height: 0
|
||||
}, 'slow', function(){
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
setTimeout(function(){
|
||||
$('.flash').animate({
|
||||
opacity: 0
|
||||
}, 3000, function(){
|
||||
$(this).animate({
|
||||
height: 0
|
||||
}, 'slow', function(){
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
}, 4000);
|
||||
})
|
||||
});
|
||||
setTimeout(function(){
|
||||
$('.flash').animate({
|
||||
opacity: 0
|
||||
}, 3000, function(){
|
||||
$(this).animate({
|
||||
height: 0
|
||||
}, 'slow', function(){
|
||||
$(this).hide();
|
||||
})
|
||||
});
|
||||
}, 4000);
|
||||
|
||||
|
||||
var editor = new EpicEditor({
|
||||
container: 'epic',
|
||||
textarea: 'epic-textarea',
|
||||
basePath: '/assets',
|
||||
theme: {
|
||||
base: '/base/epiceditor.css',
|
||||
preview: '/preview/github.css',
|
||||
editor: '/editor/epic-light.css'
|
||||
},
|
||||
button: {
|
||||
bar: true
|
||||
},
|
||||
autogrow: {
|
||||
minHeight: 500
|
||||
}
|
||||
});
|
||||
try {
|
||||
editor.load();
|
||||
} catch (e) {}
|
||||
});
|
||||
@@ -11,4 +11,5 @@
|
||||
// GO AFTER THE REQUIRES BELOW.
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//= require epiceditor
|
||||
//= require app
|
||||
|
||||
Reference in New Issue
Block a user