Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
angularjs update to 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
erkobridee committed Nov 20, 2013
1 parent b0fe45f commit ca0b0b8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
15 changes: 13 additions & 2 deletions app/main/module.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
//Declaração da aplicação
angular.module('app', ['loadingBar', 'ngResource']);
// Module definition
angular.module(

// module name
'app',

// module dependencies
[
'loadingBar',
'ngRoute',
'ngResource'
]
);
2 changes: 1 addition & 1 deletion app/require.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require({

'app/main/module': {
deps: [
'angular',
'angular_route',
'angular_resource',
'shared/components/loadingBar/module'
]
Expand Down
18 changes: 13 additions & 5 deletions require.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,27 @@ require({
paths: {

jquery: [
'vendor/js/jquery-1.10.2.min'
'vendor/jquery/1.10.2/jquery.min'
],

bootstrap: [
'vendor/bootstrap/js/bootstrap-3.0.1.min'
'vendor/bootstrap/3.0.2/js/bootstrap.min'
],

angular: [
'vendor/angular/angular-1.1.5.min'
'vendor/angular.js/1.2.1/angular.min'
],

angular_route: [
'vendor/angular.js/1.2.1/angular-route.min'
],

angular_resource: [
'vendor/angular/angular-resource-1.1.5.min'
'vendor/angular.js/1.2.1/angular-resource.min'
],

ngProgress: [
'vendor/angular/ngProgress.min'
'vendor/ngProgress/1.0.3/ngProgress.min'
]

},
Expand All @@ -36,6 +40,10 @@ require({
deps: ['bootstrap']
},

'angular_route': {
deps: ['angular']
},

'angular_resource': {
deps: ['angular']
},
Expand Down

0 comments on commit ca0b0b8

Please sign in to comment.