diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-28 13:25:05 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-28 13:25:05 +0100 |
commit | 7986ea3afcc0c57ecad5a25a92a5bbee8db81d08 (patch) | |
tree | 5ee5e3d3c6e2db094961917bbd48c65d80221038 /js/vendor/angular-animate/README.md | |
parent | ea4ecf501fc83134db2201477b4cdb1806d5312c (diff) |
update npm modules and bower modules
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 |