Skip to content

Commit

Permalink
chore: Remove support for angular below 1.4
Browse files Browse the repository at this point in the history
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
  • Loading branch information
JLLeitschuh committed Oct 20, 2016
1 parent 13a1117 commit 4341af5
Show file tree
Hide file tree
Showing 29 changed files with 13,780 additions and 142,714 deletions.
Empty file removed BS-Flatly-2.3.css
Empty file.
2 changes: 1 addition & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ http://localhost:9003/docs/#/tutorial to browse each tutorial.
<br/> fast - alias for --no-e2e --core --angular=1.3.6

```
grunt dev --no-e2e --angular=1.3.16
grunt dev --no-e2e --angular=1.5.0
```

# Code Structure
Expand Down
6 changes: 4 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var util = require('./lib/grunt/utils.js');
/*global module:false*/
module.exports = function(grunt) {
require('time-grunt')(grunt);

// use load-grunt-config to load config settings for each individual task from grunt/
require('load-grunt-config')(grunt, {
// use jitGrunt to automatically load the grunt tasks that we have defined in our package.json
Expand All @@ -36,6 +36,8 @@ module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
version: util.getVersion(),
stable_version: util.getStableVersion(),
latestAngular: util.latestAngular(),
angularTestVersions: util.angulars(),
dist: 'dist',
site: process.env.TRAVIS ? 'ui-grid.info' : '127.0.0.1:<%= connect.docs.options.port %>',
banner: '/*!\n' +
Expand All @@ -47,7 +49,7 @@ module.exports = function(grunt) {
}

});

util.updateConfig();

grunt.loadTasks('lib/grunt');
Expand Down
10 changes: 5 additions & 5 deletions grunt/ngdocs.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ module.exports = {
},
scripts: [
// no jquery automatically loaded for tutorial!!!
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.js',
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-touch.js',
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-animate.js',
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular.js',
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-touch.js',
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-animate.js',
'bower_components/csv-js/csv.js',
'bower_components/pdfmake/build/pdfmake.js',
'bower_components/pdfmake/build/vfs_fonts.js'
],
hiddenScripts: [
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-animate.js',
'//ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular-aria.js',
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-animate.js',
'//ajax.googleapis.com/ajax/libs/angularjs/<%= latestAngular %>/angular-aria.js',
'bower_components/google-code-prettify/src/prettify.js',
'node_modules/marked/lib/marked.js'
],
Expand Down
2 changes: 1 addition & 1 deletion lib/grunt/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ module.exports = function(grunt) {
'main': releaseFiles,
'ignore': [],
'dependencies': {
'angular': '>=1.2.16 1.4.x'
'angular': '>=1.4.0 1.5.x'
},
'repository': pkg.repository,
'homepage': 'http://ui-grid.info',
Expand Down
Loading

0 comments on commit 4341af5

Please sign in to comment.