chore(tests): use angular installed via npm

- Avoid maintaining / copying AngularJS source code on our repo.
- Ensures that Travis checks out the latest Angular version and tests
  against it.
This commit is contained in:
Chris Chua
2015-03-28 13:26:16 -07:00
parent a1e50d37a5
commit 5536e9660e
5 changed files with 5 additions and 28529 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ module.exports = function(config) {
// list of files / patterns to load in the browser
files: [
'misc/test-lib/jquery-1.8.2.min.js',
'misc/test-lib/angular.js',
'misc/test-lib/angular-mocks.js',
'node_modules/angular/angular.js',
'node_modules/angular-mocks/angular-mocks.js',
'misc/test-lib/helpers.js',
'src/**/*.js',
'template/**/*.js'
-2396
View File
File diff suppressed because it is too large Load Diff
-26130
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -9,6 +9,8 @@
"url": "https://github.com/angular-ui/bootstrap.git"
},
"devDependencies": {
"angular": "^1.3.15",
"angular-mocks": "^1.3.15",
"grunt": "^0.4.5",
"grunt-contrib-concat": "^0.5.1",
"grunt-contrib-copy": "^0.8.0",
+1 -1
View File
@@ -2,7 +2,7 @@
<html lang="en" ng-app="position">
<head>
<meta charset="utf-8">
<script src="../../../misc/test-lib/angular.js"></script>
<script src="../../../node_modules/angular/angular.js"></script>
<script src="../position.js"></script>
<style type="text/css">
.container {