Sha256: a2e9f94eab67ddba54985f9f83737cdd8a4ebf1868ce893ffe1551f88fd4da5a

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

/* -----------------------------------------------------------------------------
    Red Base - Basic website skel engine
    Copyright (C) 2012-2013 Yellowen

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
----------------------------------------------------------------------------- */

var Anim = angular.module("Anim", ["ngAnimate"]);

Anim.animation(".fade_anim", function(){
    return {
        leave: function(elem, done){
            $(elem).fadeOut(500, done);
        },
        enter: function(elem, done){
            $(elem).fadeIn(500, done);
            return function(cancelled){};
        }
    };
});

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
faalis-0.7.0 app/assets/javascripts/faalis/dashboard/modules/anim.js
red_base-0.6.0 app/assets/javascripts/red_base/dashboard/modules/anim.js
red_base-0.5.1 app/assets/javascripts/red_base/dashboard/modules/anim.js
red_base-0.5.0 app/assets/javascripts/red_base/dashboard/modules/anim.js