Skip to content

Commit 8bd6e50

Browse files
committed
Merge pull request #144 from circlingthesun/angular-1.3
Upgraded to Angular 1.3.1, Foundation 5.4.7 and Font Awesome 4.2
2 parents 3c4af18 + 7bc9623 commit 8bd6e50

File tree

22 files changed

+11496
-6265
lines changed

22 files changed

+11496
-6265
lines changed

Gruntfile.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ module.exports = function(grunt) {
88
grunt.util.linefeed = '\n';
99

1010
grunt.initConfig({
11-
ngversion: '1.2.15',
12-
fdversion: '5.2.0',
13-
faversion: '4.0.3',
11+
ngversion: '1.3.1',
12+
fdversion: '5.4.7',
13+
faversion: '4.2.0',
1414
modules: [],//to be filled in by build task
1515
pkg: grunt.file.readJSON('package.json'),
1616
dist: 'dist',

karma.conf.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@ module.exports = function(config) {
4747
// if true, it capture browsers, run tests and exit
4848
singleRun: false
4949
});
50-
}
51-
50+
};

misc/demo/assets/app.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
angular.module('foundationDemoApp', ['mm.foundation', 'plunker'], function($httpProvider){
1+
var app = angular.module('foundationDemoApp', ['mm.foundation', 'plunker'], function($httpProvider){
22
FastClick.attach(document.body);
33
delete $httpProvider.defaults.headers.common['X-Requested-With'];
44
});
55

6-
function MainCtrl($scope, $http, $document, $modal, orderByFilter) {
6+
app.controller('MainCtrl', function($scope, $http, $document, $modal, orderByFilter) {
77
var url = "http://50.116.42.77:3001";
88
//iFrame for downloading
99
var $iframe = angular.element('<iframe>').css('display','none');
@@ -56,9 +56,9 @@ function MainCtrl($scope, $http, $document, $modal, orderByFilter) {
5656
downloadFileFromUrl(downloadUrl.join(''));
5757
});
5858
};
59-
}
59+
});
6060

61-
var SelectModulesCtrl = function($scope, $modalInstance, modules) {
61+
app.controller('SelectModulesCtrl', function($scope, $modalInstance, modules) {
6262

6363
$scope.selectedModules = [];
6464
$scope.modules = modules;
@@ -78,9 +78,9 @@ var SelectModulesCtrl = function($scope, $modalInstance, modules) {
7878
$scope.cancel = function () {
7979
$modalInstance.dismiss();
8080
};
81-
};
81+
});
8282

83-
var DownloadCtrl = function($scope, $modalInstance) {
83+
app.controller('DownloadCtrl', function($scope, $modalInstance) {
8484
$scope.options = {
8585
minified: true,
8686
tpls: true
@@ -94,4 +94,4 @@ var DownloadCtrl = function($scope, $modalInstance) {
9494
$scope.cancel = function () {
9595
$modalInstance.dismiss();
9696
};
97-
}
97+
});

0 commit comments

Comments
 (0)