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 @@
* Users.js
* Form definition for User model
*
*
*
*/
angular.module('UserFormDefinition', [])
.value(
@@ -72,7 +72,7 @@ angular.module('UserFormDefinition', [])
type: 'checkbox',
trueValue: 'true',
falseValue: 'false',
default: 'false',
"default": 'false',
ngShow: "current_user['is_superuser'] == true"
}
},
@@ -81,7 +81,7 @@ angular.module('UserFormDefinition', [])
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
},
@@ -106,7 +106,7 @@ angular.module('UserFormDefinition', [])
icon: 'icon-plus',
label: 'Add',
awToolTip: 'Add a credential for this user'
},
}
},
fields: {
@@ -124,14 +124,14 @@ angular.module('UserFormDefinition', [])
label: 'Edit',
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
icon: 'icon-edit',
class: 'btn-success',
"class": 'btn-success',
awToolTip: 'Edit the credential'
},
delete: {
"delete": {
label: 'Delete',
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
icon: 'icon-remove',
class: 'btn-danger',
"class": 'btn-danger',
awToolTip: 'Delete the credential'
}
}
@@ -152,7 +152,7 @@ angular.module('UserFormDefinition', [])
},
description: {
label: 'Description'
},
}
}
},