Skip to content

Commit 20a7d01

Browse files
committed
chore(demo): Update demo for animations
1 parent c2efa61 commit 20a7d01

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = function(grunt) {
1616
grunt.util.linefeed = '\n';
1717

1818
grunt.initConfig({
19-
ngversion: '1.0.8',
19+
ngversion: '1.2.6',
2020
bsversion: '2.3.1',
2121
modules: [],//to be filled in by build task
2222
pkg: grunt.file.readJSON('package.json'),

misc/demo/assets/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
angular.module('bootstrapDemoApp', ['ui.bootstrap', 'plunker'], function($httpProvider){
1+
angular.module('bootstrapDemoApp', ['ui.bootstrap', 'plunker', 'ngAnimate'], function($httpProvider){
22
delete $httpProvider.defaults.headers.common['X-Requested-With'];
33
});
44

misc/demo/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<meta name="google-site-verification" content="7lc5HyceLDqpV_6oNHteYFfxDJH7-S3DwnJKtNUKcRg" />
88

99
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/<%= ngversion %>/angular.min.js"></script>
10+
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/<%= ngversion %>/angular-animate.min.js"></script>
1011
<script src="ui-bootstrap-tpls-<%= pkg.version%>.js"></script>
1112
<script src="assets/plunker.js"></script>
1213
<script src="assets/app.js"></script>
@@ -132,7 +133,7 @@ <h3>Dependencies</h3>
132133
JavaScript is required. The <strong>only required dependencies</strong> are:
133134
</p>
134135
<ul>
135-
<li><a href="http://angularjs.org" target="_blank">AngularJS</a> (minimal version 1.0.8 or 1.1.5)</li>
136+
<li><a href="http://angularjs.org" target="_blank">AngularJS</a> (minimal version 1.2.6, include angular-animate for animations)</li>
136137
<li><a href="http://getbootstrap.com/2.3.2/" target="_blank">Bootstrap CSS</a> (version 2.3)</li>
137138
</ul>
138139
<h3>Files to download</h3>

0 commit comments

Comments
 (0)