Script for building minified javascript using closure compiler

This commit is contained in:
chouseknecht
2013-06-10 18:31:17 -04:00
parent cba55a061a
commit 9e9e41db35
41 changed files with 197 additions and 213 deletions

View File

@@ -4,7 +4,7 @@
* Teams.js
* Form definition for Team model
*
*
*
*/
angular.module('TeamFormDefinition', [])
.value(
@@ -44,7 +44,7 @@ angular.module('TeamFormDefinition', [])
save: {
label: 'Save',
icon: 'icon-ok',
class: 'btn-success',
"class": 'btn-success',
ngClick: 'formSave()', //$scope.function to call on click, optional
ngDisabled: true //Disable when $pristine or $invalid, optional
},
@@ -70,7 +70,7 @@ angular.module('TeamFormDefinition', [])
icon: 'icon-plus',
label: 'Add',
awToolTip: 'Add a user'
},
}
},
fields: {
@@ -91,14 +91,14 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
icon: 'icon-edit',
class: 'btn-success',
"class": 'btn-success',
awToolTip: 'Edit user'
},
delete: {
"delete": {
label: 'Delete',
ngClick: "delete('users', \{\{ user.id \}\}, '\{\{ user.username \}\}', 'users')",
icon: 'icon-remove',
class: 'btn-danger',
"class": 'btn-danger',
awToolTip: 'Remove user'
}
}
@@ -116,7 +116,7 @@ angular.module('TeamFormDefinition', [])
icon: 'icon-plus',
label: 'Add',
add: 'Add a new credential'
},
}
},
fields: {
@@ -134,14 +134,14 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
icon: 'icon-edit',
class: 'btn-success',
"class": 'btn-success',
awToolTip: 'Modify the credential'
},
delete: {
"delete": {
label: 'Delete',
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
icon: 'icon-remove',
class: 'btn-danger',
"class": 'btn-danger',
awToolTip: 'Remove the credential'
}
}
@@ -158,7 +158,7 @@ angular.module('TeamFormDefinition', [])
ngClick: "add('projects')",
icon: 'icon-plus',
label: 'Add'
},
}
},
fields: {
@@ -176,14 +176,14 @@ angular.module('TeamFormDefinition', [])
label: 'Edit',
ngClick: "edit('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}')",
icon: 'icon-edit',
class: 'btn-success',
"class": 'btn-success',
awToolTip: 'Modify the project'
},
delete: {
"delete": {
label: 'Delete',
ngClick: "delete('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}', 'projects')",
icon: 'icon-remove',
class: 'btn-danger',
"class": 'btn-danger',
awToolTip: 'Remove the project'
}
}