Skip to content

Instantly share code, notes, and snippets.

@matsko
Created December 19, 2013 21:29
Show Gist options
  • Save matsko/8046556 to your computer and use it in GitHub Desktop.
Save matsko/8046556 to your computer and use it in GitHub Desktop.
var classNameFilter = $animateProvider.classNameFilter();
var isAnimatableClassName = !classNameFilter ?
function() { return true; } :
function(className) {
return classNameFilter.test(className);
}
@IgorMinar
Copy link

      var classNameFilter = $animateProvider.classNameFilter();
      var isAnimatableClassName = !classNameFilter
              ? function() { return true; }
              : function(className) {
                return classNameFilter.test(className);
              }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment