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:
+2
-2
@@ -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'
|
||||
|
||||
Vendored
-2396
File diff suppressed because it is too large
Load Diff
Vendored
-26130
File diff suppressed because it is too large
Load Diff
@@ -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",
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user