diff options
Diffstat (limited to 'js/vendor/angular-animate/README.md')
-rw-r--r-- | js/vendor/angular-animate/README.md | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/js/vendor/angular-animate/README.md b/js/vendor/angular-animate/README.md index 930b5dcc5..8313da67c 100644 --- a/js/vendor/angular-animate/README.md +++ b/js/vendor/angular-animate/README.md @@ -14,21 +14,12 @@ You can install this package either with `npm` or with `bower`. npm install angular-animate ``` -Add a `<script>` to your `index.html`: - -```html -<script src="/node_modules/angular-animate/angular-animate.js"></script> -``` - Then add `ngAnimate` as a dependency for your app: ```javascript -angular.module('myApp', ['ngAnimate']); +angular.module('myApp', [require('angular-animate')]); ``` -Note that this package is not in CommonJS format, so doing `require('angular-animate')` will -return `undefined`. - ### bower ```shell @@ -56,7 +47,7 @@ Documentation is available on the The MIT License -Copyright (c) 2010-2012 Google, Inc. http://angularjs.org +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal |