Skip to content

Commit 4341af5

Browse files
committed
chore: Remove support for angular below 1.4
Removes all tests and references to support for angular versions below 1.4 BREAKING CHANGE: UI Grid is no longer compatible with angular versions below 1.4
1 parent 13a1117 commit 4341af5

29 files changed

+13780
-142714
lines changed

BS-Flatly-2.3.css

Whitespace-only changes.

DEVELOPER.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ http://localhost:9003/docs/#/tutorial to browse each tutorial.
2222
<br/> fast - alias for --no-e2e --core --angular=1.3.6
2323

2424
```
25-
grunt dev --no-e2e --angular=1.3.16
25+
grunt dev --no-e2e --angular=1.5.0
2626
```
2727

2828
# Code Structure

Gruntfile.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var util = require('./lib/grunt/utils.js');
99
/*global module:false*/
1010
module.exports = function(grunt) {
1111
require('time-grunt')(grunt);
12-
12+
1313
// use load-grunt-config to load config settings for each individual task from grunt/
1414
require('load-grunt-config')(grunt, {
1515
// use jitGrunt to automatically load the grunt tasks that we have defined in our package.json
@@ -36,6 +36,8 @@ module.exports = function(grunt) {
3636
pkg: grunt.file.readJSON('package.json'),
3737
version: util.getVersion(),
3838
stable_version: util.getStableVersion(),
39+
latestAngular: util.latestAngular(),
40+
angularTestVersions: util.angulars(),
3941
dist: 'dist',
4042
site: process.env.TRAVIS ? 'ui-grid.info' : '127.0.0.1:<%= connect.docs.options.port %>',
4143
banner: '/*!\n' +
@@ -47,7 +49,7 @@ module.exports = function(grunt) {
4749
}
4850

4951
});
50-
52+
5153
util.updateConfig();
5254

5355
grunt.loadTasks('lib/grunt');

grunt/ngdocs.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ module.exports = {
1818
},
1919
scripts: [
2020
// no jquery automatically loaded for tutorial!!!
21-
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.js',
22-
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-touch.js',
23-
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-animate.js',
21+
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular.js',
22+
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-touch.js',
23+
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-animate.js',
2424
'bower_components/csv-js/csv.js',
2525
'bower_components/pdfmake/build/pdfmake.js',
2626
'bower_components/pdfmake/build/vfs_fonts.js'
2727
],
2828
hiddenScripts: [
29-
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-animate.js',
30-
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-aria.js',
29+
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-animate.js',
30+
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-aria.js',
3131
'bower_components/google-code-prettify/src/prettify.js',
3232
'node_modules/marked/lib/marked.js'
3333
],

lib/grunt/plugins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ module.exports = function(grunt) {
316316
'main': releaseFiles,
317317
'ignore': [],
318318
'dependencies': {
319-
'angular': '>=1.2.16 1.4.x'
319+
'angular': '>=1.4.0 1.5.x'
320320
},
321321
'repository': pkg.repository,
322322
'homepage': 'http://ui-grid.info',

0 commit comments

Comments
 (0)